How can I set colours in contourfm and contourcmap to create a common colorbar for three maps with different minimum and maximum values?

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Green 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by