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?

Antworten (1)

Michael
Michael am 28 Nov. 2011

0 Stimmen

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

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 28 Nov. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by