Origin at right lower corner

조회 수: 10 (최근 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 CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by