Try -help addplot_option-. You need to specify what type of plot (line,
scatter, connect,....) you want. For example:
sysuse auto
locpoly price mpg, gen(l1) at(mpg)
locpoly weight mpg, gen(l2) at(mpg)
locpoly gear mpg, at(mpg) plot(line l1 mpg, yaxis(2) || ///
line l2 mpg, yaxis(3)) legend(off) noscatter
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Holla, Alaka
> Sent: Thursday, August 04, 2005 9:59 PM
> To: [email protected]
> Subject: st: locpoly: 4 plots in one graph?
>
> i'm try to graph the results of four separate kernel regressions in one
> graph.
> i'm using the following command, but stata just keeps working and returns
> nothing for more than 10 minutes:
>
> "locpoly yvar xvar if blah blah blah, w(1) at(yvar) gen(newname1) adoonly
> noscatter"
>
> i wanted to do this three times (saving newname2 and newname3 as well),
> and then the last time write:
>
>
> "locpoly yvar xvar if blah blah blah, w(1) adoonly noscatter plot(newname1
> newname2 newname3)"
>
> in the locpoly help file, the line associated with plot reads:
> "plot(plot) provides a way to add other plots to the generated graph; see
> help plot_option."
>
> there is no help for "plot_option", however, and a keyword search on
> returns nothing.
>
>
>
>
>
> *
> * 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/
*
* 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/