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]

Re: st: Fwd: SPMAP: Maps with spmap overlapping pies or bars


From   Eduard Bopo <bonedu.stat@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Fwd: SPMAP: Maps with spmap overlapping pies or bars
Date   Fri, 24 Sep 2010 17:35:16 +0300

Thanks for your prompt reply.  I didn't express my question
adequately, let me try it in a different way.
Is it possible to produce only 1 map that shows information on two
variables? For example, is it possible to combine the following two
maps into one?

    use "Italy-RegionsData.dta", clear
spmap relig1 using "Italy-RegionsCoordinates.dta", id(id)          ///
        clnumber(5) fcolor(Reds2) ocolor(none ..)                       ///
        title("Pct. Catholics without reservations", size(*0.8))         ///
        subtitle("Italy, 1994-98" " ", size(*0.8))                       ///
        legstyle(3))

    use "Italy-RegionsData.dta", clear
    spmap using "Italy-RegionsCoordinates.dta", id(id) fcolor(stone)   ///
        title("Pct. Catholics without reservations", size(*0.8))         ///
        subtitle("Italy, 1994-98" " ", size(*0.8))                       ///
        diagram(variable(relig1) range(0 100) refweight(pop98)           ///
        xcoord(xcoord) ycoord(ycoord) fcolor(red))


Thanks.

Eduard Bonet

2010/9/24 Maurizio Pisati <maurizio.pisati@unimib.it>:
> Yes, it is (with some limitations). Examples can be found in the -spmap- help file.
> Best wishes,
> Maurizio
>
>
>
>
> Il giorno 24/set/2010, alle ore 10.39, Eduard Bopo ha scritto:
>
>> Hello.
>>
>> I would like to know if it is possible to use spmap to produce a map that
>> has bar or pie graphs within each polygon, the polygons being subnational
>> territorial divisions.
>>
>> Any comment might help.
>>
>> Thanks in advance.
>>
>> Eduard Bonet.
>> *
>> *   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/
>
>
> *
> *   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/
>

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