Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: spmap

From   "Lynn Lee" <>
To   <>
Subject   st: spmap
Date   Sat, 22 Sep 2012 21:26:39 +0800

Dear Prof. Pisati,

I am really sorry, but I still do not fully understand the -by()- option.
-label()- option only allows one variable in bracket, -by()- is to group
labels, but I do not want to group them. I have two variables "ename" and
"GDP" to be labeled, if I write -label(label(ename) label(GDP))-, it is
wrong. If I write -label(label(ename) by(GDP))-, it shows ename only, no GDP
value added on the map.  From definition of -by()-, it should be possible to
add more than one labels. But I do not know how to add another label
correctly. Could you please give me some suggestion?

Best Regards,
Lynn Lee

-----Original Message-----
[] On Behalf Of Maurizio Pisati
Sent: Saturday, September 22, 2012 7:30 PM
Subject: Re: st: spmap

Dear Lynn,
yes, it's possible, you can plot as many different labels as you like using
suboption -by()- of option -label()-. See the -spmap- help file for exact
syntax and details.
Best wishes,

Il giorno 22/set/2012, alle ore 13.24, Lynn Lee ha scritto:

> Thank Prof. Pisati  and Prof. Cox. I really appreciate for your reply 
> and very helpful suggestion.
> Prof. Pisati, if I want to label two variables on the map, for 
> example,  one is region's name, another is region's GDP, is it 
> possible? I tried to put
> label(GDP) in label() option, the command was wrong. Could you please 
> give me some suggestion?  I appreciate.
> Best Regards,
> Lynn Lee

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index