pcolor or setting the colors in a colour map

1 Ansicht (letzte 30 Tage)
Arundhatee Talukdar
Arundhatee Talukdar am 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 Kommentar
Image Analyst
Image Analyst am 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

bym
bym am 19 Nov. 2011
myColorMap = flipud(jet);

Weitere Antworten (0)

Kategorien

Mehr zu Colormaps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by