I have a plot showing pixel intensity values. I want to rotate the plot clockwise 90 degrees...can anyone help

 採用された回答

arun
arun 2015 年 7 月 5 日
編集済み: arun 2015 年 7 月 5 日

13 投票

let y is pixel intensity
x=1:1:length(y)
plot(y,x) may work instead of plot(y)
this command is useful to flip axis
set(gca,'YDir','reverse');
u can use this command too
camroll(-90)

その他の回答 (1 件)

Jan
Jan 2015 年 7 月 5 日

1 投票

Arun's "camroll" approach is equivalent to setting the CameraUpVector.

製品

タグ

質問済み:

2015 年 7 月 5 日

コメント済み:

2015 年 7 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by