Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: spmap with two legends?


From   Maria Ana Vitorino <vitorino@wharton.upenn.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: spmap with two legends?
Date   Wed, 25 Aug 2010 20:07:31 -0400

Hi,
I was wondering if I can have 2 legends in a map created with spmap.
For example, if one constructs the following map:

. use "Italy-RegionsData.dta", clear
. spmap relig1 using "Italy-RegionsCoordinates.dta", id(id) /// clmethod(stdev) clnumber(5) /// title("Pct. Catholics without reservations", size(*0.8)) /// point(data("Italy-Capitals.dta") xcoord(xcoord) ycoord(ycoord) by(size) fcolor(orange red maroon) shape(s ..) legenda(on)) /// subtitle("Italy, 1994-98" " ", size(*0.8)) area(pop98) /// map("Italy-OutlineCoordinates.dta") mfcolor(stone) ///

Both legends (for the number of catholics and for the capitals) show up together... Can't I control the legends separately and use different titles and placement for the legends?

Any help is appreciated.
Thanks,
Ana
*
*   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   |   Site index