Hello everyone,
I'm using spmap from SSC in Stata 13.1. I am currently working on Mexico. My goal is to display the Gini index for every 2457 Mexican municipalities while outlining the Mexican states. I obtained it using the command:
Now I want to display on this map the name of the 32 Mexican states which are in the "mexico_state_xy" file. I was able to display the municipalities' name with the command:
but unfortunatly I can't find how to display the state names. What is the right command to do so ?
Thanks a lot
I'm using spmap from SSC in Stata 13.1. I am currently working on Mexico. My goal is to display the Gini index for every 2457 Mexican municipalities while outlining the Mexican states. I obtained it using the command:
Code:
spmap giniE using mexico1_xy, id(id) fcolor(Oranges) ocolor(none ..) title("Education Inequality in Mexico by Municipalities""in 2015") ndlab("Missing") ndfcolor(gs7) legend(position(1) region(lcolor(purple) fcolor(white)) title("Gini Index", size(*0.4))) polygon(data(mexico_state_xy) osize(*0.85))
Code:
spmap giniE using mexico1_xy, id(id) label(xcoord(x_c) ycoord(y_c) label(DES_MUN)) fcolor(Oranges) ocolor(none ..) title("Education Inequality in Mexico by Municipalities""in 2015") ndlab("Missing") ndfcolor(gs7) legend(position(1) region(lcolor(purple) fcolor(white)) title("Gini Index", size(*0.4))) polygon(data(mexico_state_xy) osize(*0.85))
Thanks a lot
Comment