how to set up color range?

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?

Risposte (1)

Doug Hull
Doug Hull il 6 Nov 2013

0 voti

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.

Categorie

Scopri di più su Images in Centro assistenza e File Exchange

Richiesto:

il 6 Nov 2013

Risposto:

il 6 Nov 2013

Community Treasure Hunt

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

Start Hunting!

Translated by