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
不幸的是, 「表演」不會讓我在不同的尺度上對他們進行繪製。 –