Statalist


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

AW: st: subscript in legend labels


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: subscript in legend labels
Date   Mon, 18 Jan 2010 13:44:16 +0100

<> 

Would I have been able to find -alignment()- in the help/dialog box?



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Maarten buis
Gesendet: Montag, 18. Januar 2010 13:37
An: [email protected]
Betreff: Re: st: subscript in legend labels

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


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