How can I set colours in contourfm and contourcmap to create a common colorbar for three maps with different minimum and maximum values?
1 view (last 30 days)
Show older comments
Dear All, I have three maps which have different minimum and maximum values. I attached the maps(fig1, fig2, fig3). I created them by:
worldmap('Europe');
load coast;
plotm(lat, long, 'k');
clear lat long;
lat=load(lat.mat);
contourfm(lat,lon,IU2,40:20:120);
contourcmap('hot','Colorbar','on', 'Location','horizontal', 'TitleString', 'PET(mm/month)')
I would like to set the colors in same interval and create a common colorbar for them. For example set the values range in 40:20:120 and the colour hot(6). So I would like show the change of the values in fig2 and fig3 compare to fig1.
I would appreciated if someone hepled me!
0 Comments
Answers (0)
See Also
Categories
Find more on Annotations 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!