Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Overlay a map with additional boundaries in -tmap-?


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Overlay a map with additional boundaries in -tmap-?
Date   Mon, 23 Mar 2009 12:22:26 -0500

It is very easy with -spmap- to add a different boundary outline.  For
example, command below will produce a county level map of 3 states,
with the state boundaries in blue.

spmap population if inlist(state,"20", "29", "40") using
"uscounty.dta", id(_ID) polygon(data("usmap.dta") select(keep if
inlist(fips, 20, 29 , 40)) ocolor(blue) osize(thick))

Scott


On Mon, Mar 23, 2009 at 11:53 AM, Eric A. Booth <ebooth@ppri.tamu.edu> wrote:
> What commands were you using with -tmap- ?
>
> Have you tried using -spmap- yet?  -spmap- seems to be more flexible with
> plotting multiple layers on a map.
>

*
*   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/



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