plot1 = ListPlot[MNvsAmp, PlotRange -> All, PlotStyle -> PointSize[Large], ImagePadding -> 85, Frame -> {True, True, True, False}, FrameLabel -> {"Time, s", "Number of atoms, 1000"}, PlotMarkers -> {marker1, .035}, PlotLegends -> "gamma = 1.903 beta = 2.173*10^(-20)"];
我想积2个listplots并在一个坐标系统中的一个拟合曲线,但叠加功能显示我这样的结果
plot2 = ListPlot[TvsTXTvalue, PlotRange -> All, PlotStyle -> PointSize[Large], ImagePadding -> 85, Frame -> {False, False, False, True}, FrameTicks ->{None, None, None, All}, FrameLabel -> {{"","Temperature, mK"},{"",""}}, PlotMarkers -> {marker2, .035}, PlotLegends -> "gamma = 1.903 beta = 2.173*10^(-20)"];
plot3 = Plot[Normal[bettafit], {tt, 3.7, 4.4}, PlotStyle -> Directive [Thick], Axes -> {False, False}]
Overlay[{plot1, plot2, plot3}]
this is the result I get, the curve is somewhere where it shouldn't be
您是否尝试过'展会[{plot1,plot2,plot3}]'? – halirutan
'Overlay'将图形坐标系中的东西对齐,而不是绘图系统。几乎没有你想要的东西(我不认为我曾经使用过“Overlay”)这很奇怪,文档不清楚它,甚至没有指出你在'See''下的'Show'' – agentp
不幸的是, “表演”不会让我在不同的尺度上对他们进行绘制。 –