How to set a value range for predefined colormap?
Show older comments
Hi!
I want to use a contourf plot with colormap winter. The result is that every plot shows the full color range even it shows just small values. If I want to show one colorbar for two plots with different values I have to set a fixed range of values. I would like to set like 0 is the lowest value (in 'winter' blue) and 20 (in 'winter' yellow) the highest. If one of the plots show maximum values of 5 there shouldn't be any yellow color.
Kind regards
Andreas
1 Comment
Kevin Chng
on 8 Oct 2018
I found this solution on web.
Answers (1)
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!