Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个固定大小的图形,如下所示:
hFig = figure(1); set(hFig, 'Position', [200 200 500 500])
但问题是,我想让我的 AXIS 具有固定大小(我希望它们是正方形),而不是(必要的)整个图形...... - 见附图,Y 轴比 X 轴长一点(当然更长的意思是显示... X和Y轴范围设置为相同的值)。如何调整它?
谢谢!
用于axis equal将轴的间距设置为相同。
axis equal