How can I specify the colormap scalling
Show older comments
I have a colormap as below:
cmap=[0.729 0.752 0.7529;
0.5689 1 1;
0.6078 0.8039 1;
0.3255 0.6627 1;
0 0.4745 0.949;
0.7067 1 0.2844;
0.4756 0.8431 0;
0 0.6588 0;
0 0.502 0;
0 0.3333 0;
1 1 0;
0.9961 0.7686 0.4196;
0.9765 0.6392 0.2667;
1 0.3922 0.102;
0.8 0 0;
1 0 1]
I want to specify a range to the color map as it is done in the figure: Since the last range is not equal to the other i cannot use caxis([cmin cmax]); How can I define the range for each color in showing an image?

Accepted Answer
More Answers (0)
Categories
Find more on Blue 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!