Dear all,
I have managed to plot the spatial boundaries on the map and the locations of different points. I can also label the districts/Traditional Authority boundaries but I have problems with labeling the points [the labels of the points are titled hc_name in data set named hosp.dta].
Below is the program I am running in Stata 15.0:
spmap using mlwtacoord id(mlwtaid) legstyle(2) label(x(x_cen) y(y_cen) label(ADM3_ENs) size(*1.2)) //
point(data("hosp.dta") x(longtude) y(latitude) by(level) legenda (on) leglab(hc_name) //
size(*0.4 *0.2) fcolor(red midgreen ) sh(circle diamond) ocolor(white white) osize(*5.1 *5.05)) //
label(x(longtude) y(latitude) label(hc_name) size(*0.5) position(0 6) length(21))
The error message: option la() not allowed
Can anyone help.
Thanks.
Related Posts with How to add names to points on a spatial graph using spmap.
Recode many different observations in one variable.Hi, I am analyzing municipalities in Sweden and my data consists of 290 different municipalities. In…
sensitivity estimates for median specificity from a bayesian Hierarchical summary ROC modelDear all I am working on a diagnostic test accuracy review that includes 12 studies reporting the s…
Sorting and Labelling coeffecient from different models using coefplot.Hello Stata family! My data is divided into 10 equal groups by a categorical variable called decile…
SVYSET advice multiple countries and data sourcesDear all, I have the following situation and would like to hear your advice for svyset. I have multi…
Creating PercentilesHi, I have 3,691 observations and I want to create income percentiles for them. However, whenever I…
Subscribe to:
Post Comments (Atom)
0 Response to How to add names to points on a spatial graph using spmap.
Post a Comment