Fill and color polygons based on single value
조회 수: 4(최근 30일)
How do you plot multiple polygons (i.e. states) according to their respective, individual value (e.g. population density)? The final product should be a patched U.S. with states colored according to their respective values. I have latitude, longitude, and density values and I've tried patch, fill, and imagesc commands, but to no avail.
Amy Haskins 2017년 12월 21일
What you are describing is known as a choropleth map. If you have access to the Mapping Toolbox, you can try following the example below to help you get started.