Flip the y-axis values?

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by