Statalist


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

Re: st: -spmap- filling map polygons with patterns instead of color


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -spmap- filling map polygons with patterns instead of color
Date   Tue, 29 Dec 2009 07:36:08 -0600

I suspect you will have to change all places where -spmap- calls
-area- to -parea-.  Look for lines such as:
-local GRAPH `"`GRAPH'(area _Y _X  ...-

Scott

On Tue, Dec 29, 2009 at 1:24 AM, Padmakumar Sivadasan
<pmathru2@illinois.edu> wrote:
> Hello
>
> I am using Stata 11 on Windows Vista. I use –spmap- program
> (downloaded from SSC) authored by Maurizio Pisati to draw various
> maps. Since I have to print these maps in black and white, I am
> looking at filling the map polygons with patterns like stripes,
> crosses, etc.
>
> I came across a previous thread on the list
> (http://www.stata.com/statalist/archive/2009-12/msg00630.html) in
> which Sergiy had suggested that this could be done using his  -twoway
> parea-  ado file availablefrom SSC. I have downloaded this ado file
> and I also looked at the example "PareaMap.PNG" that Sergiy refers to
> in his post. Even so, I am unable to figure out how the   –twoway
> parea- command could be integrated with the –spmap- command.  My
> attempts like the two commands outlined below did not work
>
> twoway parea spmap lq_accy using msacoord, id(msaid) pattern(pattern8)
>
> spmap lq_accy using msacoord, id(msaid) pattern(pattern8)
>
> Could someone please suggest the right way approach to this issue?
>
> Thanks
>
> Padmakumar

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