审稿人让我更改axis direction,但matlab默认的命令IMAGESC,会使得俯视图的方向变得很奇怪,因此可以在:编辑-》坐标区属性中进行更改,改变Ydir。

  1. 方法一

MATLAB 三维图的俯视图,更改横纵坐标方向_开发语言

MATLAB 三维图的俯视图,更改横纵坐标方向_matlab_02

MATLAB 三维图的俯视图,更改横纵坐标方向_开发语言_03

MATLAB 三维图的俯视图,更改横纵坐标方向_开发语言_04

  1. 方法二
    加一行代码:

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