Origin at right lower corner

11 Ansichten (letzte 30 Tage)
Catarina Guerreiro
Catarina Guerreiro am 3 Dez. 2011
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by