Hello everyone!
I am doing the hierarchical clustering model in Stata on the county level. My results give 800 different clusters. Therefore, I would like to produce a map showing different clusters. However, I don't know if there is any palette in Stata that generate 800 different colors to map each cluster results (there are 3140 counties in total). I am using maptile developed by Michael Stepner would like to ask what should I do (I can also do it in spmap if it is easier). Here is my code
use cluster_results, clear
cluster generate cluster = gr(810)
maptile cluster, geo(county1990) fcolor(Paired)
This is what it gives me:
Array
This is what I want (produced from R)
Array
Thank you very much!
0 Response to How can I plot distinct color for different cluster results in a map setting?
Post a Comment