[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Persistent graph legends using by()
Thanks Nick, that did the job.
From: Nick Winter [mailto:email@example.com]
Sent: Wednesday, June 16, 2004 4:33 PM
Subject: Re: st: Persistent graph legends using by()
In this case, the "legend(off)" should be a suboption of by():
. twoway ... , by(UNIT , legend(off) ) ...
See the section titled "Use of legends with by()" in -help by_option- (or
the equivalent manual entry, I assume; I don't have them at hand).
At 04:14 PM 6/16/2004 -0700, you wrote:
>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)
* For searches and help try: