pcolor or setting the colors in a colour map

조회 수: 1 (최근 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 CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by