how to set up color range?

조회 수: 3(최근 30일)
Milenko 2013년 11월 6일
답변: Doug Hull 2013년 11월 6일
I am using imagesc,import matrix works fine.The problem is when I import another matrix with different velocity range,colors some how adapt.So how to set up colors like 6000 red,... and so on.Is there a simple method for that?


Doug Hull
Doug Hull 2013년 11월 6일
Imagesc is for image SCaled. Use image instead, it will keep the same color range rather than scaling to use the full dynamic range. you can mess with the clim value of the two axes to do this manually.


Find more on Modify Image Colors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by