Help on imagesc

12 vues (au cours des 30 derniers jours)
Gonzalo
Gonzalo le 27 Juin 2011
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,

Réponses (1)

Walter Roberson
Walter Roberson le 27 Juin 2011
imagesc() and image() require rectangular grids. You will have to construct your own plot using patch(), possibly with texture mapping.
  1 commentaire
Gonzalo
Gonzalo le 27 Juin 2011
Would please provide additional details? Patch works but renders an incomprehensible figure.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by