Ed Wang wrote: > Yes, I have gone through the manual. My best reference for plotting has > been examples either through the list archive or searches on the internet. > Nothing in the introductory manual could get me to what I have been > able to do so far, but that is limited to plotting componenets of the time > series returned from an STL call. > > This is why I am asking for example or references to examples from anyone > who would be willing to share them. For some of us not very familiar with > S+, etc. the documentation with R is not enough. While I can plot two > time series one above another using the mfrow() function I'd prefer to > put two time series in one plot in different colours and using two different > symbols, which I cannot do using calls to plot().
What about making the two time series into an mts (multiple time series) object, with my.mts <- cbind(ts.1, ts.2) or maybe my.ts <- ts.union(ts.1, ts.2) This latest command does not assume a commom time base. Then plot(my.ts,plot.type="single", col=c("red", "blue")) Kjetil > > Thanks. > > "A man is not old until regrets take the place of dreams." > Actor John Barrymore > > > > > From: Berton Gunter <[EMAIL PROTECTED]> > To: "'Ed Wang'" <[EMAIL PROTECTED]>, <r-help@stat.math.ethz.ch> > Subject: RE: [R] plotting question > Date: Mon, 5 Dec 2005 14:12:47 -0800 > ?lines ?points > > An Introduction to R (and numerous other books on R) explains this. Have you > read it? > > > -- Bert Gunter > Genentech Non-Clinical Statistics > South San Francisco, CA > > "The business of the statistician is to catalyze the scientific learning > process." - George E. P. Box > > ______________________________________________ > R-help@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 > ______________________________________________ R-help@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