Hi, What commands are needed to get an output like this: 1. On X-Axis : 2 Indices ex. S&P500 and DOW JONES 2. Their repective dates If I use the "plot" command, I get one output & if I use it again, I lose the previous output. I need both of them on one graph only(As seen in the attachment). Thanks, Sonal
Try: RSiteSearch("Horses and Hounds") On 8/7/06, Sonal Darbari <sonal at deepfoo.com> wrote:> Hi, > > What commands are needed to get an output like this: > > > 1. On X-Axis : 2 Indices ex. S&P500 and DOW JONES > 2. Their repective dates > > > If I use the "plot" command, I get one output & if I use it again, I lose > the previous output. I need both of them on one graph only(As seen in > the attachment). > > > > Thanks, > Sonal > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > >
Also RSiteSearch("ts.plot.2Axis") On 8/7/06, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:> Try: > > RSiteSearch("Horses and Hounds") > > > On 8/7/06, Sonal Darbari <sonal at deepfoo.com> wrote: > > Hi, > > > > What commands are needed to get an output like this: > > > > > > 1. On X-Axis : 2 Indices ex. S&P500 and DOW JONES > > 2. Their repective dates > > > > > > If I use the "plot" command, I get one output & if I use it again, I lose > > the previous output. I need both of them on one graph only(As seen in > > the attachment). > > > > > > > > Thanks, > > Sonal > > > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > > > >