MATLAB Answers


Is it possible to draw a 3D choropleth (heatmap) Map in Matlab?

Hawre Jalal さんによって質問されました 2017 年 7 月 27 日
最新アクティビティ Chad Greene
さんによって コメントされました 2017 年 7 月 31 日
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.

  1 件のコメント

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.

サインイン to comment.

1 件の回答

I believe that the following example link might be helpful in creating chloropleth graphs using the mapping toolbox:
You could also look into thematic maps which is explained in the following link:;
Also, the following link can help you read the file in an appropriate format:

  0 件のコメント

サインイン to comment.

Translated by