Origin at right lower corner

11 ビュー (過去 30 日間)
Catarina Guerreiro
Catarina Guerreiro 2011 年 12 月 3 日
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

採用された回答

the cyclist
the cyclist 2011 年 12 月 3 日
Do you mean you want to reverse the direction of increasing x? Like this:
plot(1:10)
get(gca)
set(gca,'XDir','reverse')
  1 件のコメント
Catarina Guerreiro
Catarina Guerreiro 2011 年 12 月 3 日
That's it!
Thank you.
Catarina

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by