Statalist


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

Re: st: Long legend text spanning two columns


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Long legend text spanning two columns
Date   Mon, 26 Jan 2009 16:14:32 +0000 (GMT)

--- Friedrich Huebler <[email protected]> wrote:
> The graph in the example below has a legend with three keys and a
> long descriptive text in the third key. Can this long text be
> written so that it spans both columns of the legend, making use of
> the empty space below the second key?
> 
> . sysuse auto
> . graph bar mpg trunk turn, legend(col(2) label(3 "Long text across
> both columns of legend"))

yes, by going into the graph editor. Go to "Grid Edit" the bottom icon
on the left hand toolbar, select the long label, on the top toolbar you
see "expand cell", play around with that option till you get what you
want.

-- Hope this helps,
Maarten



-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index