pcolor command

Hi I made some plots with 'pcolor' command, but these plots must be rotated or the origin for plots is located on the up left corner instead of down left corner, any solution?

답변 (1개)

Michael
Michael 2011년 11월 28일

0 개 추천

try pcolor(imrotate(A,90))
This should move the top left corner to the bottom left.

댓글 수: 3

bahare
bahare 2011년 11월 28일
Thanks, That works with pcolor(imrotate(A,180))
Jan
Jan 2011년 11월 28일
I'd prefer the faster: pcolor(rot90(A)).
bahare
bahare 2011년 11월 28일
but pcolor(rot180(A)) does not work:
Error: Undefined function or method 'rot180'

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2011년 11월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by