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