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

st: Persistent graph legends using by()


From   "Wallace, John" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Persistent graph legends using by()
Date   Wed, 16 Jun 2004 16:14:10 -0700

Hi Statalisters
I have a graph of some data I'm pretty pleased with, but I don't want a
legend on it.  Unfortunately, Stata is insisting on one:

. twoway (scatter mean desc if parttag) (scatter u95 desc if parttag,
msymbol(none) mlabel(cap) mlabposition(0)) (scatter l95 desc if parttag,
msymbol(none) mlabel(cap) mlabposition(0)), by(UNIT) 
ylabel(, angle(horizontal) labsize(small)) 
xlabel(, valuelabel labsize(small)) legend(off)

The legend pops up in the 6 o'clock position of the main body of the graph,
with an appropriate symbol for mean, and no markers for u95 or l95 (as
specified, since I'm using a custom symbol, "cap").

Any suggestions on how to get the legendless graph I'm trying for?

Thanks,
John Wallace | Research Associate | Test Method Development
AFFYMETRIX, INC. | 3380 Central Expressway | Santa Clara, CA 95051 | Tel:
408-731-5574 | Fax:  408-481-0435
*
*   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