Origin at right lower corner

11 views (last 30 days)
Hi,
I´m trying to change the origin that is set at the left lower corner to the right corner. I just want to change the origin of the x axis to the right. Anyone knows how to do it? Thanks. Catarina

Accepted Answer

the cyclist
the cyclist on 3 Dec 2011
Do you mean you want to reverse the direction of increasing x? Like this:
plot(1:10)
get(gca)
set(gca,'XDir','reverse')

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!