Hello everyone,
I have used spmap to create the following map.
I've generated this map using the following code:
However since the map should show the destination of Turkish Exports, it is not very intuitive to highlight Turkey in grey.
Therefore, I want to attach a different color to Turkey, and label it differently in the legend.
I came across a couple of ways that can implement this. One thought I had was to extract the polygon of Turkey from the original file, fill it in another color and use the by() option. However, I am not quite sure about this, and wondering if there could be a more straightforward way to implement this.
Any tips/hints would be appreciated. Thanks.
I have used spmap to create the following map.
I've generated this map using the following code:
Code:
spmap r_exps using wcoord, id(id) fcolor(BuPu) clnumber(7) osize(thin) ndfcolor(gs7) polygon(data("wcoord")) polyfirst legorder(lohi) legend(pos(6) rows(1) ring(1) symxsize(6) colgap(0)) legstyle(2) legend(region(lcolor(dknavy)) title("Exports made by Turkish `titlab' (`year')", size(small))) ndlabel("0")
Therefore, I want to attach a different color to Turkey, and label it differently in the legend.
I came across a couple of ways that can implement this. One thought I had was to extract the polygon of Turkey from the original file, fill it in another color and use the by() option. However, I am not quite sure about this, and wondering if there could be a more straightforward way to implement this.
Any tips/hints would be appreciated. Thanks.