Statalist


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

st: turn off legend of scatter plot


From   "Bhoom Suktitipat" <sibsp@mahidol.ac.th>
To   statalist@hsphsun2.harvard.edu
Subject   st: turn off legend of scatter plot
Date   Tue, 29 Jul 2008 00:35:35 -0400

Dear Statalister,

I need a little help turning off graph legend

Here is what I have

twoway (scatter logp pos,msymbol(oh)) || (scatter logp pos if logp>4,
msymbol(circle) mcolor(red) mlabel(snp)), xscale(noline)
ytitle(-log(p-value)) xtitle(Position) by(trait) xtick(none)
xlabel(none) legend(off)

I'm using Stata 10. I specified "legend(off)" but I still got the
legend label at the bottom.
How can I get rid off it. Is there something wrong with my code?

Thank you very much.

Sincerely,
Bhoom
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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