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)
Dear All, I have three maps which have different minimum and maximum values. I attached the maps(fig1, fig2, fig3). I created them by:
load coast;
plotm(lat, long, 'k');
clear lat long;
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!

Answers (0)

Community Treasure Hunt

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

Start Hunting!