Statalist


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

Re: st: subscript in legend labels


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: subscript in legend labels
Date   Mon, 18 Jan 2010 04:37:12 -0800 (PST)

--- On Mon, 18/1/10, Katja Recknagel wrote:
> Is it possible to use the subscript-option to label
> legends? I have tried and got a superscript instead of a
> subscript. 

Taking my cue from Martin, you can do this without going 
to the graph editor:

*--------------- begin example --------------------------
twoway function y = invlogit(2+x),                    /// 
       range(-10 10) lcolor(black) lpattern(solid) || ///
       function y = invlogit(x),                      ///
       range(-10 10) lcolor(black) lpattern(dash)     ///
       legend(order( 1 "{&beta}{sub:0} = 2"           ///
                     2 "{&beta}{sub:0} = 0")          ///
              alignment(bottom))
*---------------- end example ---------------------------
( For more on how to use examples I sent to statalist see:
 http://www.maartenbuis.nl/stata/exampleFAQ.html )

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

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