how to set up color range?

3 views (last 30 days)
Milenko
Milenko on 6 Nov 2013
Answered: Doug Hull on 6 Nov 2013
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?

Answers (1)

Doug Hull
Doug Hull on 6 Nov 2013
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.

Community Treasure Hunt

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

Start Hunting!