Im currently working on a map of Colombia with Stata 14 and spmap (Maurizio Pisati) based on the excellent resources that some users have posted here and so far no problema. But when I try to change the position of the legend it doesnt let me change it from the default position.
Here is my code
Code:
use db_col, clear merge 1:1 NAME using attribute, assert(match) nogen spmap pcchange using coord_dep_cuadritos, id(_ID) /// legenda(on) leg(position(8)) fcolor(Greens) ocolor(gs10 gs9 gs8 gs7) /// label( data(db_col_locations) xcoord(x_label) ycoord(y_label) /// by(lgroup) label(s)size(*0.6 ..) pos(0 6) length(27 25) ) /// line( data(conectores) ) legend(ring(0) bplace(s) bmargin(25 0 3 0))
Array
I have tried with different clock positions but it is the same every time. I was thinking that maybe with all the modification I did to the original shapefile I may have broke it (?)(haha).
Thanks in advance.
0 Response to Help with spmap legend option
Post a Comment