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

조회 수: 1 (최근 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에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by