Thank you, Scott. Your edit gave me what I want.
Friedrich
--- Scott Merryman <[email protected]> wrote:
> Here is one way. If you change line 469 in -tmap_choropleth- from
>
>
> forval i = 1 / `NC' {
>
> To
>
> forval i = 2 / `NC' {
>
> it will exclude the first category in the legend. Of course, don't
> forget to change it back.
>
>
> Scott
>
>
> Lines 469 - 473:
>
> forval i = 1 / `NC' {
> local R : word `i' of `RANGE'
> local LABEL `"`LABEL'lab(`i' `"`R'"') "'
> local KEYS `"`KEYS'`i' "'
> }
>
> > -----Original Message-----
> > From: [email protected] [mailto:owner-
> > [email protected]] On Behalf Of Friedrich Huebler
> > Sent: Monday, October 24, 2005 4:29 PM
> > To: [email protected]
> > Subject: st: -tmap- legend
> >
> > Assume I have a variable with these values:
> >
> > 0 No data
> > 1 Hot
> > 2 Cold
> >
> > Now I want to create a map with -tmap- from SSC. By default the
> > legend lists all categories of data. Is it possible to show only
> > selected categories in the legend, for exampley only "Hot" and
> > "Cold"?
> >
> > Thank you,
> >
> > Friedrich Huebler
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
*
* 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/