Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: reversing the x-axis values of 2D plot
Replies: 2   Last Post: Jul 8, 2013 7:36 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,919
Registered: 12/7/04
Re: reversing the x-axis values of 2D plot
Posted: Jul 8, 2013 5:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Monday, July 8, 2013 5:37:40 PM UTC+12, asif khan wrote:
> Hi
>
>
>
> I want to change the order of x-axis values. Instead of ascending order I want to
>
>
>
> have it in descending order. I know it doing manually. But is there any command
>
>
>
> for that.
>
>
>
> Thanks...


set(gca,...
'XDir','reverse')



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.