How to fix color data min/max (constant) in colormap editor?

6 views (last 30 days)
Dear,
I have 1 frame, containing 400 images.
What I want is, after export this frame into images. The color map will follow my fix color data min and max.
The color will darker and brighter follow that min and max value.
Another question is, I want my color map divide into as many part as possible, (like the below image)
Thank you for your help.
  3 Comments
Walter Roberson
Walter Roberson on 13 Feb 2019
there is no built in color map that looks like that.
it looks to me as if it would be easiest to build it in hsv with blue hue and 0 saturation at the left, increasing to full saturation at the middle then switching to fully saturated red and decrease saturation to the right. Then hsv2rgb. You should be able to create it with arbitrary size .

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 13 Feb 2019
This is my first approximation of the colormap (attached). It isn't exactly what you want, but it is what I have so-far.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!