change the scale of colorbar
13 views (last 30 days)
I wanna change the scale of the color bar. of the image below to [0 0.02]
I tried many method, like shown below
c = colorbar;
%c.Limits = [0 0.02]
but the outcome is like this. The colorbar become the same color. only the range changes instead of the scale. I want the colorbar to be different from 0 to 0.02. How should I do that? Thanks for answering!