Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: graph legend(off) doesn't appear to work


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: graph legend(off) doesn't appear to work
Date   Wed, 18 Oct 2006 17:32:09 +0100

Try tucking the -legend(off) into -by()- as a suboption. 

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

Feiveson, Alan H. (JSC-SK311)
 
> For some reason, I can't seem to turn off the legend 
> when using
> a by( ) option on a graph command. Without the by( ), I can 
> turn it off:
> 
> . scatter y14_1392 y14_6867 phasetime 
> (legend appears)
> 
> . scatter y14_1392 y14_6867 phasetime , legend(off)
> (legend doesn't appear)
> 
> . scatter y14_1392 y14_6867 phasetime ,by(ag)
> (legend appears)
> 
> . scatter y14_1392 y14_6867 phasetime ,by(ag) legend(off)
> (legend is still there)
> 
> 
> What's happening? Can anyone suggest another way to supress 
> the legend? 
> 
> I'm using Stata Intercooled 9.2 for Windows.

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