审稿人让我更改axis direction,但matlab默认的命令IMAGESC,会使得俯视图的方向变得很奇怪,因此可以在:编辑-》坐标区属性中进行更改,改变Ydir。
- 方法一
- 方法二
加一行代码:
set(gca,‘YDir’,‘normal’)
参考自:https://uk.mathworks.com/matlabcentral/answers/94170-how-can-i-reverse-the-y-axis-when-i-use-the-image-or-imagesc-function-to-display-an-image-in-matlab