pcolor command

2 views (last 30 days)
bahare
bahare on 28 Nov 2011
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?

Answers (1)

Michael
Michael on 28 Nov 2011
try pcolor(imrotate(A,90))
This should move the top left corner to the bottom left.
  3 Comments
Jan
Jan on 28 Nov 2011
I'd prefer the faster: pcolor(rot90(A)).
bahare
bahare on 28 Nov 2011
but pcolor(rot180(A)) does not work:
Error: Undefined function or method 'rot180'

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!