Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: addplot option to tmap


From   [email protected]
To   [email protected]
Subject   Re: st: RE: addplot option to tmap
Date   Thu, 17 Feb 2005 13:19:30 -0600

This works fine for me, though I would change addplot to:
 addplot(label votebushpct if conterm , x(x) y(y) lc(black) ls(0.9))
                            ^^^^^^^^^^
else you will get labels for Alaska and Hawaii.

-t_label- is a subprogram of -tmap_choropleth- so I don't think that is the problem.


Scott


     
----- Original Message -----
From: Nick Cox <[email protected]>
Date: Thursday, February 17, 2005 12:40 pm
Subject: st: RE: addplot option to tmap
> I think this is a bug in -tmap_choropleth-, 
> which tries to call -t_label-, when it 
> should be trying to call -tmap_label-. 
> 
> Nick 
> [email protected] 
> 
> H Wright 
> 
> > Can anyone tell me what I am doing wrong? Thank you. 
> > 
> > 
> > . tmap choropleth winner if conterminous, id(id) 
> > map(us-coordinates.dta) /* 
> > >*/ clmethod(unique) palette(Custom) colors(`"`"203 24 29"'"' 
> > navy) /* 
> > >*/ title(US Presidential Elections 2004) subtitle(% votes 
> > for Bush) /* 
> > >*/ legpos(5) legsize(1.2) legtitle("Winner", size(*0.8)) 
> > legcount /* 
> > >*/ addplot(label votebushpct , x(x) y(y) lc(black) ls(0.9)) 
> > option addplot() specified uncorrectly 
> > r(198); 
> 
> * 
> * For searches and help try: 
> * http://www.stata.com/support/faqs/res/findit.html 
> * http://www.stata.com/support/statalist/faq 
> * http://www.ats.ucla.edu/stat/stata/ 
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index