【问题标题】:How can I get the negative side to ppoint upward on an ordinate in Matalb? [duplicate]如何在 Matlab 的纵坐标上让负侧指向上方? [复制]
【发布时间】:2011-03-17 15:32:45
【问题描述】:

可能重复:
How do I edit the axes of an image in MATLAB to reverse the direction?

对于工程图,我需要将 y 坐标点的负侧向上。简单地说,我需要反转y轴。我该怎么做?

【问题讨论】:

标签: matlab plot


【解决方案1】:

以编程方式,您可以调用

set(gca,'YDir','reverse')

或者,您可以选择图形窗口中的箭头,双击轴,然后在绘图编辑器中单击 y 轴的“反向”复选框。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-04-23
    • 2014-06-18
    • 1970-01-01
    • 2010-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多