Something simple with formatting axes
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
If I was needing to plot a two dimensional graph. The horizontal axis is a positively oriented from 0 to infinity, but the vertical axis is oriented from 0 to negative infinity. The axes converge at zero. What I can't figure out is how to reverse just the vertical axis to have increasing negative values as the x axis increases.
0 个评论
回答(1 个)
Walter Roberson
2017-11-17
编辑:Walter Roberson
2017-11-17
set(gca, 'Ydir', 'reverse')
The vertical axes is the Y axes, and I followed your horizontal/vertical question, not your request to have increasing negative values as the x axis increases.
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!