如何在Matalb中使负边向上指向纵坐标? [英] How can I get the negative side to ppoint upward on an ordinate in Matalb?
本文介绍了如何在Matalb中使负边向上指向纵坐标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Possible Duplicate:
How do I edit the axes of an image in MATLAB to reverse the direction?
对于工程图,我需要将y坐标点的负侧向上.简而言之,我需要反转y轴.我该怎么办?
For an engineering plot I need to have the negative side of the y-ordinate point upward. Simply speaking, I need to invert the y-axis. How can I do that?
推荐答案
可以通过编程方式调用
set(gca,'YDir','reverse')
或者,您可以在图形窗口中选择箭头,双击轴,然后在图编辑器中单击y轴的反向"复选框.
Alternatively, you can select the arrow in the figure window, double-click on the axes, and click the 'reverse' checkbox in the plot editor for the y-axis.
这篇关于如何在Matalb中使负边向上指向纵坐标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文