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 on April 23, and its replacement, 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 <>
To   <>
Subject   st: spmap with two legends?
Date   Wed, 25 Aug 2010 20:07:31 -0400

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.
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index