Help on imagesc

Hello all,
I need to plot a matrix X using imagesc.
>> imagesc(v,f,X);
However, each column of X is described by a different f, but imagesc will not let me use a matrix there.
Any ideas how can I plot X using the corresponding f for each column?
Thanks a lot,

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 6 月 27 日

0 投票

imagesc() and image() require rectangular grids. You will have to construct your own plot using patch(), possibly with texture mapping.

1 件のコメント

Gonzalo
Gonzalo 2011 年 6 月 27 日
Would please provide additional details? Patch works but renders an incomprehensible figure.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2011 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by