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 Exchange2-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