<>
"Playing around" would tell you that you can place a -margin- around the
-subtitle-
*************
sysuse auto, clear
gen number=_n
tw (line mpg num) (line pr num) /*
*/ (line head num) (line tr num), /*
*/ legend(order (4 3 2 1) row(1)) /*
*/ legend(subtitle("Conditional growth" /*
*/ "(11-19 weeks, 19-34 weeks)",) /*
*/ margin(medlarge))
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Maarten buis
Gesendet: Donnerstag, 1. Oktober 2009 10:20
An: [email protected]
Betreff: Re: st: line spacing in legend subtitle
The easiest solution to problems like these is to play around in the graph
editor (assuming you have Stata 10 or 11). In Stata 10, go within the graph
window to "File" and than click on "Start Graph Editor".
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
--- On Thu, 1/10/09, Miranda Kim <[email protected]> wrote:
> From: Miranda Kim <[email protected]>
> Subject: st: line spacing in legend subtitle
> To: [email protected]
> Date: Thursday, 1 October, 2009, 9:09 AM
> Hello,
> I've got a graph with a legend subtitle that spans two
> lines, and I wonder how I can increase the gap between these
> lines, and also the gap between the subtitle and the legend
> symbols below it...
>
> my code at the moment is:
>
> legend(order (4 3 2 1) row(1)) legend(subtitle("Conditional
> growth" "(11-19 weeks, 19-34 weeks)")))
>
> I tried just adding blank lines in the subtitle, but it
> looks a bit messy...
>
> legend(order (4 3 2 1) row(1)) legend(subtitle("Conditional
> growth" " " "(11-19 weeks, 19-34 weeks)" " ")))
>
> Many thanks for any suggestions...
>
> *
> * 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/
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
*
* 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/