[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: adding US state outlines using SPMAP
I attempted to execute the syntax kindly offered by Maurizio
Pisati, but the graph that resulted showed ONLY the outlines
of the states but with the correct legend (showing the custom
breaks 0 1 2 3 4 32 and selected color palette). It did not
display within each state outline the shaded cbsa/metro
save uscoordinates2, replace
spmap numberoffreeclinics if conterminous & type2=="metro"
id(id) ndfc(white) fc(Blues) ocolor(gs12 ..) clmethod(custom)
clbreaks (0 1 2 3 4 32)
Note: uscoordinates2 is the base map with the x and y
coordinates for the cbsa metropolitan areas and us-
stateoutline is the base map with x and y coordinates for the
48 contiguous states. usdatabase3 contains the id,
numberoffreeclinics, type2, and conterminous variables.
Also (I'm not sure if this is relevant), the graphs that are
produced have very different shapes. The map of cbsa/metro
areas is stretched out and takes up the entire graph area and
the map of the US states is small and is positioned in the
upper lefthand corner. The US state map does not include
Alaska or Hawaii.
Any suggestions would be greatly appreciated.
* For searches and help try: