Flip the y-axis values?

7 ビュー (過去 30 日間)
SuzieChan
SuzieChan 2020 年 4 月 12 日
回答済み: Mehmed Saad 2020 年 4 月 12 日
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 日
set(gca,'YDir','reverse')

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by