Statalist The Stata Listserver


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

Re: st: SPMAP: interpreting class breaks / adding state outlines


From   Maurizio Pisati <maurizio.pisati@galactica.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: SPMAP: interpreting class breaks / adding state outlines
Date   Mon, 05 Mar 2007 08:06:33 +0100

Yes , it is possible, provided you have a "polygon dataset" (see help file for explanation) containing the definition of the complete outline of the US. Suppose such dataset is called "UsOutline.dta". Then, you just have to add option -polygon(...)- to your command:


# delimit;
spmap numberoffreeclinics if conterminous using "uscoordinates2",
id(id) ndfc(white) fc(Blues) ocolor(gs12 ..) clmethod(custom)
clbreaks (0 1 2 3 4 32)
polygon(data(UsOutline.dta) _other_suboptions_)


Best,
Maurizio





Second, I also wish to add state outlines, if possible.

The map that is produced uses core-based statistical area
boundaries (CBSAs) from the U.S. Census. Is there a way to
overlay state boundary outlines? This would make it much
easier to identify the location of the CBSAs. At a minimum, is
it possible to add a complete outline of the US?

Thank you very much.

Julie Darnell
*
*   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