----- Original Message -----
From: Svend Juul <[email protected]>
Date: Tuesday, March 14, 2006 6:47 am
Subject: Re: st: legend on graph help
To: [email protected]
> ---------------------------------------------------------------
>
> Stata graph commands can be complex; I think it is helpful to keep
the
> terminology straight:
>
> -line- is not a command; it is a plot specification as part of a
> -twoway- graph command.
>
> The legend() option is an option to the graph command, not to a plot
> specifation. So it should not be "attached to one of the -line-
> commands".
>
Svend,
Thank you for the clarification.
Looking back at the -help twoway_options- this is made clear in the
remarks.
"...the by() option applies to the entire graph and in theory you
should type
. twoway lfitci mpg weight, stdf ||
scatter mpg weight, ms(O) ||, by(foreign, total row
(1))
or
. twoway (lfitci mpg weight, stdf)
(scatter mpg weight, ms(O)), by(foreign, total row(1))
to demonstrate your understanding of that fact."
Thanks again,
Scott
*
* 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/