Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: spmap question


From   Alexandru Cojocaru <[email protected]>
To   [email protected]
Subject   st: spmap question
Date   Tue, 15 Jan 2013 15:22:05 -0500

Dear all,

I am interested in drawing a map using -spmap- (available from SSC).
The map is of the kind given in this example available in the -spmap-
helpfile:

*****
use "Italy-RegionsData.dta", clear
spmap relig1 using "Italy-RegionsCoordinates.dta", id(id)
*****

i.e. the colors indicate the prevalence of some characteristic. In my
case, one polygon (for the capital city) is fully surrounded by
another region. If prevalence is higher in the capital city than in
the surrounding region, the darker color of the capital city polygon
displays correctly. In the reverse case, however, the polygon for the
capital gets the same (darker) color of the surrounding region.

Any thoughts on what can be done to get the capital city polygon to
display the correct color?

cheers,
Sandu
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index