Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Option -clbreaks() in -spmap- [Was: Map with wrong colors]


From   Maurizio Pisati <maurizio.pisati@unimib.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Option -clbreaks() in -spmap- [Was: Map with wrong colors]
Date   Fri, 07 Sep 2007 08:07:47 +0200

Dear Friedrich,
there is no built-in way to get the classes you would like. However, you can trick the program by adding a small constant (e.g., 0.00001) to your mapping variable: that should do the job.
Best,
Maurizio



At 23.03 06/09/2007, Friedrich Huebler wrote:

Many thanks to everyone who responded to my question. For my original
problem, the option -clmethod(quantile)- with -clnumber(5)- does
indeed work and the regions have the desired color.

If a user of -spmap- wants to specify custom class breaks,
-clbreaks(numlist)- can be used. The help file gives an example. With
-clbreaks(10 15 20 25 50)- these classes are created: [10,15],
(15,20], (20,25] and (25,50].

Is it possible to specify classes like this: [10,15), [15,20), [20,25)
and [25,50]

Friedrich
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index