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?

Answers (1)

Michael
Michael on 28 Nov 2011

0 votes

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

3 Comments

bahare
bahare on 28 Nov 2011
Thanks, That works with pcolor(imrotate(A,180))
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.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Asked:

on 28 Nov 2011

Community Treasure Hunt

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

Start Hunting!