Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: spmap
From 
 
"Lynn Lee" <[email protected]> 
To 
 
<[email protected]> 
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-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Maurizio Pisati
Sent: Saturday, September 22, 2012 7:30 PM
To: [email protected]
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,
Maurizio
 
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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/