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?

Respuestas (1)

Michael
Michael el 28 de Nov. de 2011

0 votos

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

3 comentarios

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

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by