How to set the colour of a polygon based on correlation values
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Kean Foster
il 19 Mag 2015
Commentato: Kean Foster
il 9 Giu 2015
I am trying to plot correlation maps that show the correlation between a region and a given climatic driver. I want to colour the polygons of the region according to their correlation indices with a specific driver. How is this best achieved. I have been using point features until now and then plotting using scatterm function which allows one to give the correlation data as criteria for the colours eg.
h1 = scatterm(lats, lons, 100, corrdata(m,:),'o','filled');
Is there a way to do a similar thing but using polygon shape-files instead (different areas in the world)? For example, if I calculated the correlations between an observed phenomena in each of the 50 countries in Europe and MSL pressure, how can I plot and colour the different polygons (in a shape-file) based on these correlation values?
Thanks in advance
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Map Display in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!