开发者

Flipping axis ticks [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Dup开发者_JAVA技巧licate:

How do I edit the axes of an image in MATLAB to reverse the direction?

Hey guys,

In MatLab I have a pair of axes where the y-axis starts from (0,0) and counts up to (0,100) with tick marks on this x-axis going 0,1,2,...,100. Can a flip it so it goes 100,99,...,0 so the origin would be (0,100)? Any ideas? I know it's possible because I've seen graph figures like this.


set(gca,'YDir','reverse'); before you draw the graph. Thanks to gary comtois's link - stackoverflow.com/questions/2865600/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜