user1214208
user1214208

Reputation: 93

How to cut a dendrogram and represent on a geographic map

I would like know if there are any tools/commands in MATLAB or any other software that helps to cut the dendrogram (where points represent states) at a certain height and represent it in a geographical map like the one in the below images.

enter image description here enter image description here

Could you please let me know if there is any better way to do it

Thank you.

Upvotes: 2

Views: 671

Answers (1)

yuk
yuk

Reputation: 19880

You can draw polar dendrogram (as on your example) with File Exchange submission - Draw a Polar Dendrogram.

To apply threshold to distance between nodes and get the cluster data you can use CLUSTER or CLUSTERDATA function.

Then you can use USAMAP function from Mapping Toolbox to draw the states and apply colors based on your clusters. See the example 3 in the documentation.

Upvotes: 3

Related Questions