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

st: RE: sts graph/legend question


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: sts graph/legend question
Date   Wed, 2 Jun 2004 18:55:27 +0100

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



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