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

st: Where should I put -, legend off- ?


From   "Renzo Comolli" <[email protected]>
To   <[email protected]>
Subject   st: Where should I put -, legend off- ?
Date   Mon, 28 Jun 2004 00:09:49 -0400

Dear Statalist, 

I create graph here below and I don't manage to turn the legend off. Could
anyone help me, please?
I tried putting -,legend off- in as many places as I could, but I did not
succeed.

My graph is
. sysuse auto
. twoway (lfit mpg weight, clcolor(red)) (scatter mpg weight, mcolor(blue)),
by(foreign) ytitle(Mileage)


I tried 
. twoway (lfit mpg  weight, clcolor(red)) (scatter  mpg weight,
mcolor(blue)), by( foreign) ytitle(Mileage) legend(off)
. twoway (lfit mpg  weight, clcolor(red) legend(off)) (scatter  mpg weight,
mcolor(blue) legend(off)), by( foreign) ytitle(Mileage) 
. twoway (lfit mpg  weight, clcolor(red) legend(off)) (scatter  mpg weight,
mcolor(blue) legend(off)), by( foreign) ytitle(Mileage) legend(off)
but the legend is still there.


Thanks

Best Regards,
Renzo Comolli


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