level 6
光的暗礁
楼主
请问如何把X、Y的标签分别移到图片下方和左方,而坐标轴移到上方和右方?如图。

Rotate只能使图片完全翻转,如下图

AxesLabel设置了半天,代码还是不对以至于连XY都不显示。

请问如何能在图片不翻转的情况下按上述要求调整坐标显示方位呢?
代码如下
H = 1/5*Sin[6*Sqrt[x^2 + y^2]];
ContourPlot[H, {y, -4.5, 4.5}, {x, -4.5, 4.5}, PlotRange -> All,
AxesLabel -> Automatic, FrameLabel -> None, Contours -> 12,
ColorFunctionScaling -> False,
ColorFunction -> (ColorData["TemperatureMap"][
Rescale[#, {-1, 1}, {0, 1}]] &)]
谢谢各位大佬了。
2021年01月23日 15点01分
1

Rotate只能使图片完全翻转,如下图
AxesLabel设置了半天,代码还是不对以至于连XY都不显示。
请问如何能在图片不翻转的情况下按上述要求调整坐标显示方位呢?代码如下
H = 1/5*Sin[6*Sqrt[x^2 + y^2]];
ContourPlot[H, {y, -4.5, 4.5}, {x, -4.5, 4.5}, PlotRange -> All,
AxesLabel -> Automatic, FrameLabel -> None, Contours -> 12,
ColorFunctionScaling -> False,
ColorFunction -> (ColorData["TemperatureMap"][
Rescale[#, {-1, 1}, {0, 1}]] &)]
谢谢各位大佬了。