I downloaded the states and provinces data from the link below and tried to make the map of Korea with the provinces label. I can draw the map with the first (1) spmap, but when I try with labels, it shows the whole world map with labels. How can I fix to just show the map of Korea with provinces names? Thank you very much in advance.
shp2dta using ne_10m_admin_1_states_provinces, data("korea_region1") coor("korea_coordinates1") gencentroids(c) genid(id)
gen length=length(gns_name)
(1) spmap length using korea_coordinates.dta if admin=="South Korea",id(id) fcolor(Blues)
(2) spmap length using korea_coordinates1.dta if admin=="South Korea",id(id) fcolor(Blues) label(label(name_de) xcoord(x_c) ycoord(y_c))
shp2dta using ne_10m_admin_1_states_provinces, data("korea_region1") coor("korea_coordinates1") gencentroids(c) genid(id)
gen length=length(gns_name)
(1) spmap length using korea_coordinates.dta if admin=="South Korea",id(id) fcolor(Blues)
(2) spmap length using korea_coordinates1.dta if admin=="South Korea",id(id) fcolor(Blues) label(label(name_de) xcoord(x_c) ycoord(y_c))