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" <[email protected]>
To   <[email protected]>
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 
[email protected] 

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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index