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