Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: AW: RE: sts graph/legend question


From   Thomas Mählmann <maehlmann@wiso.uni-koeln.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: RE: sts graph/legend question
Date   Wed, 2 Jun 2004 20:33:13 +0200

Thanks a lot Nick!

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu]Im Auftrag von Nick Cox
Gesendet: Mittwoch, 2. Juni 2004 19:55
An: statalist@hsphsun2.harvard.edu
Betreff: st: RE: sts graph/legend question


. sts graph , by(sex) legend(order(1 "female" 2 "male"))

Nick
n.j.cox@durham.ac.uk

Thomas Mählmann
>
> I have a problem which I couldn't solve for hours now
> concerning the "sts
> graph" command with the "by" option. My "by variable" is sex
> (1=female, 0=
> male).
> After
> . sts graph, by(sex)
> I get a graph with the legend:
>   sex=female  sex=male
> but what I want is  a legend without the "sex=" part like:
>   female   male
>
> How can I get ride of "sex=" ?
>
> In the manual (p. 262-266) I only find graphics with "="!

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index