2011-03-17 24 views
2

可能重複:
How do I edit the axes of an image in MATLAB to reverse the direction?在Matalb的縱座標上,我該如何獲得不利的一面?

對於工程情節我需要的y座標點的消極的一面朝上。簡而言之,我需要反轉y軸。我怎樣才能做到這一點?

+0

重複:[如何在MATLAB中編輯圖像的軸以反轉方向?](http://stackoverflow.com/questions/2865600/how-do-i-edit-the-axes-of- an-image-in-matlab-reverse-the-direction) – gnovice 2011-03-17 19:27:37

回答

3

編程,你可以叫

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

或者,也可以在圖窗口中選擇箭頭,軸的雙擊,並在圖中單擊編輯爲y軸的「反向」複選框軸。

+0

謝謝喬納斯! – Ingo 2011-03-17 15:39:59