呵呵,咋天就是觉得自己没看出什么区别,但不能确定所以发帖问下子。
今天有一个新的想法:
axis equal这一句没有改变DataAspectRatioMode的默认属性:auto,所以MATLAB stretches the axes to fill the axes position rectangle (the rectangle defined by the last two elements in the Position property). This results in graphs that use the available space in the rectangle
set(gca,'DataAspectRatio', [1 1 1])这一句实际上已经把'DataAspectRatioMode设成了manual,所以整个坐标系的范围就变小了