Hi,
Is it possible to 'flip' or 'reverse' the y-axis values so they show in opposite order?
For some reason, Matlab puts 1` at the top of the y-axis, down to 0 in descending order.
Can I make the y-axis show 0 at the top, and 1 at intersection with the x-axis?
(reasoning: 0 represents ground level, and 1 represents 1 meter below ground level).

 채택된 답변

Mehmed Saad
Mehmed Saad 2020년 4월 12일

0 개 추천

set(gca,'YDir','reverse')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2020년 4월 12일

답변:

2020년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by