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]

RE: st: Labels in spmap


From   "Radwin, David" <[email protected]>
To   <[email protected]>
Subject   RE: st: Labels in spmap
Date   Mon, 16 Dec 2013 20:02:28 -0500

Also, it might not be worth the effort to program, but you could
automate wrapping of labels along the lines of Scott Merryman's example:
http://www.stata.com/statalist/archive/2007-03/msg00778.html. A key
difference would be that you would want probably want to -generate- a
new variable or tempvar.

David
--
David Radwin, Senior Research Associate
Education and Workforce Development
RTI International
2150 Shattuck Ave. Suite 800, Berkeley, CA 94704
Phone: 510-665-8274

www.rti.org/education

> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Sergiy Radyakin
> Sent: Monday, December 16, 2013 4:08 PM
> To: [email protected]
> Subject: Re: st: Labels in spmap
> 
> Alexis, to simulate two lines labels, one can overlay two scatterplots
> without markers, one having labels above and another below the
> 'imaginary' markers.
> 
> See example here:
> do http://radyakin.org/statalist/2013121601/twolinelabs.do
> 
> produces:
> http://radyakin.org/statalist/2013121601/twolinelabs.png
> 
> Best, Sergiy Radyakin
> 
> 
> 
> On Mon, Dec 16, 2013 at 5:06 PM, Alexis Captanian
<[email protected]>
> wrote:
> > Hi Statalist,
> >
> > I'm trying to fit labels into regions of a choropleth map, but many
of
> > the labels are spilling out of their respective regions and
> > overlapping with each other. I would like to solve this problem by
> > making some labels appear as two lines, but I do not know how to do
> > this. I'm using spmap in Stata 11.2 on a Mac.
> >
> > For example, instead of:
> >
> > Los Angeles
> >
> > I would like the label to appear:
> >
> > Los
> > Angeles
> >
> > Decreasing the text size did not solve the overlap problem.
> >
> > Any suggestions would be greatly appreciated. I'm new to Stata so I
> > apologize if this is extremely elementary. I searched the archives
and
> > other resources but didn't find an answer.
> >
> > Thank you very much,
> > Alexis Captanian
> > *
> > *   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/
> *
> *   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/

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