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: Line break in a character string for a bar chart label


From   Eric Booth <[email protected]>
To   [email protected]
Subject   Re: st: Line break in a character string for a bar chart label
Date   Tue, 30 Jul 2013 15:52:11 -0500

Hi Walt:

This may be what you need:  

   http://researchnotes.eric-a-booth.com/2011/03/some-statplot-examples.html


- Eric

On Jul 30, 2013, at 3:35 PM, Data Analytics Corp. <[email protected]> wrote:

> Hi,
> 
> I created a horizontal bar chart of magazine readership.  The labels for each bar are combinations of the magazines. Unfortunately, some labels are too long (too many magazines for a bar) and are cut-off or they just don't look nice.  I'd like to insert a line break in the character strings so that the labels would appear on two (or more) lines.   Some programming languages, such as R, use "\n" to break a line.  Does Stata (13 for Windows) have something like this?  Or is there a way to tell Stata to wrap a line?
> 
> Thanks,
> 
> Walt
> 
> ________________________
> 
> Walter R. Paczkowski, Ph.D.
> Data Analytics Corp.
> 44 Hamilton Lane
> Plainsboro, NJ 08536
> ________________________
> (V) 609-936-8999
> (F) 609-936-3733
> [email protected]
> www.dataanalyticscorp.com
> _____________________________________________________
> 
> *
> *   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