Statalist The Stata Listserver

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

Re: st: legend on graph help

Subject   Re: st: legend on graph help
Date   Tue, 14 Mar 2006 07:05:30 -0600

----- Original Message -----
From: Svend Juul <SJ@SOCI.AU.DK>
Date: Tuesday, March 14, 2006 6:47 am
Subject: Re: st: legend on graph help

> ---------------------------------------------------------------
> Stata graph commands can be complex; I think it is helpful to keep 
> 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".


Thank you for the clarification.  

Looking back at the -help twoway_options- this is made clear in the 

"...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


        . twoway (lfitci  mpg weight, stdf)
                 (scatter mpg weight, ms(O)), by(foreign, total row(1))

to demonstrate your understanding of that fact."

Thanks again,

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index