pcolor or setting the colors in a colour map

3 ビュー (過去 30 日間)
Arundhatee Talukdar
Arundhatee Talukdar 2011 年 11 月 19 日
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 件のコメント
Image Analyst
Image Analyst 2011 年 11 月 19 日
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.

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

採用された回答

bym
bym 2011 年 11 月 19 日
myColorMap = flipud(jet);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by