pcolor or setting the colors in a colour map

3 vues (au cours des 30 derniers jours)
Arundhatee Talukdar
Arundhatee Talukdar le 19 Nov 2011
Hi all, I am using a pcolor for plotting some values. and using Jet colormap. For Jet, it gives me red for high values and blue for low values. I want the opposite, red for low values and blue for high values, how can we do that or does Matlab have any other colormap for that?
  1 commentaire
Image Analyst
Image Analyst le 19 Nov 2011
Why are you using pcolor instead of one of the display functions that displays one pixel for every element in your array, and that has a color that is representative of the array value? pcolor() does neither of those.

Connectez-vous pour commenter.

Réponse acceptée

bym
bym le 19 Nov 2011
myColorMap = flipud(jet);

Plus de réponses (0)

Catégories

En savoir plus sur Colormaps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by