Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Something simple with formatting axes

조회 수: 6 (최근 30일)
Truman Cassady
Truman Cassady 2017년 11월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
If I was needing to plot a two dimensional graph. The horizontal axis is a positively oriented from 0 to infinity, but the vertical axis is oriented from 0 to negative infinity. The axes converge at zero. What I can't figure out is how to reverse just the vertical axis to have increasing negative values as the x axis increases.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 11월 17일
편집: Walter Roberson 2017년 11월 17일
set(gca, 'Ydir', 'reverse')
The vertical axes is the Y axes, and I followed your horizontal/vertical question, not your request to have increasing negative values as the x axis increases.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by