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

Re: st: RE: Problem with legend option - bug?


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: RE: Problem with legend option - bug?
Date   Fri, 4 Feb 2005 09:08:47 -0800 (PST)

Excellent! Thank you David.

Ricardo.


--- David Harrison <[email protected]> wrote:

> -legend()- needs to be given as a suboption of
> -by()-, so make it -by(sex, legend(off))-
> 
> David
> [email protected]
> 
> -----Original Message-----
> From: Ricardo Ovaldia [mailto:[email protected]]
> Sent: 04 February 2005 16:46
> To: [email protected]
> Subject: st: Problem with legend option - bug?
> 
> 
> Dear all,
> 
> I wanted to what I tough was a simple graph but I am
> having trouble suppressing the legend when I use the
> by() option. What am I doing wrong? Here id the data
> and command:
> 
> . cl
> 
>             or      ub         lb    copies      sex
>   1.         1       .          .         0   Female
>   2.      .645    .478        .87         1   Female
>   3.      .382    .209       .699         2   Female
>   4.         1       .          .         0     Male
>   5.      .978    .727      1.316         1     Male
>   6.     1.128    .686      1.853         2     Male
> 
> . graph twoway (rcap lb ub copies) (scatter or
> copies), by(sex) yscale(log) legend(off)  
> 
> Everything works by legend(off) is ignored.
> 
> Thank you,
> Ricardo.
> 
> 
>  
> 
> =====
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> *
> *   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/
> 


=====
Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
*
*   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