Is it possible to draw a 3D choropleth (heatmap) Map in Matlab?
3 views (last 30 days)
Show older comments
Choropleth graphs are very useful to show multi-dimensional data. I can produce them in GIS software, such as ArcGIS (see the picture below from an online resource), but I need to plot a large number of these and I was hoping to use Matlab to automate the process. I am familiar with programming in Matlab, but have just started to use the Mapping toolbox. So, I am just wondering if someone has any tips that will help to produce these maps in Matlab.
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166369/image.jpeg)
1 Comment
Chad Greene
on 31 Jul 2017
I would say simply don't make a 3D map like this, and I'm pretty sure Edward Tufte would agree.
In your example, the variable is represented redundantly by color and height. Never let the dimensions of the data display exceed the dimensions of the data being plotted; here's why: The oblique view prevents us from directly comparing the heights of any two bars, and it also prevents us from measuring the distance or angle between locations. The lighting applied to those bars is slick, but it also means that the colors are inconsistently shaded, and thus the relationship between variable value and color is lost. The end effect is it doesn't show spatial relationships or the variable accurately.
For a variable that varies in 2D space, simply plot that variable in 2D space and use a perceptually uniform colormap.
Answers (1)
Shruti Shivaramakrishnan
on 31 Jul 2017
I believe that the following example link might be helpful in creating chloropleth graphs using the mapping toolbox: http://es.mathworks.com/examples/mapping/mw/map-ex88555438-create-choropleth-map-of-population-density
You could also look into thematic maps which is explained in the following link: http://www.mathworks.com/help/map/what-is-a-thematic-map.html;
Also, the following link can help you read the file in an appropriate format: https://www.mathworks.com/help/map/standard-file-formats.html
0 Comments
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!