Origin at right lower corner

10 vues (au cours des 30 derniers jours)
Catarina Guerreiro
Catarina Guerreiro le 3 Déc 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

Réponse acceptée

the cyclist
the cyclist le 3 Déc 2011
Do you mean you want to reverse the direction of increasing x? Like this:
plot(1:10)
get(gca)
set(gca,'XDir','reverse')
  1 commentaire
Catarina Guerreiro
Catarina Guerreiro le 3 Déc 2011
That's it!
Thank you.
Catarina

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by