Filling a polygon using an index and colormap
15 views (last 30 days)
I am attempting to fill in the polygons of counties based on data collected. I have attached the array I am working with. It has 61 counties. I would like to fill these counties based on the values in counties.risk. How can I do this? I have been using geoshow to show the counties up until now. Thanks so much for your help!
Rob Comer on 29 Jan 2014
The key to making many thematic maps is to use the makesymbolspec function in combination with geoshow or mapshow . In this case, because polygons are being color-coded, it's more specifically a "choropleth map."
worldmap([20 35],[-100 -78])
riskSymbolSpec = makesymbolspec('Polygon', ...