\Header{ts.plot}{Plot Multiple Time Series}
\keyword{ts}{ts.plot}
\begin{Description}\relax
Plot several time series on a common plot. Unlike
\code{\Link{plot.ts}} the series can have a different time bases,
but they should have the same frequency.\end{Description}
\begin{Usage}
\begin{verbatim}
ts.plot(..., gpars = list())
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] one or more univariate or multivariate time series
\item[\code{gpars}] list of named graphics parameters to be passed to the
plotting functions
\end{ldescription}
\end{Arguments}
\begin{Value}
None.\end{Value}
\begin{Note}\relax
Although this can be used for a single time series, \code{plot} is
easier to use and is preferred.\end{Note}
\begin{Author}\relax
B.D. Ripley\end{Author}
\begin{SeeAlso}\relax
\code{\Link{plot.ts}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(UKLungDeaths)
ts.plot(ldeaths, mdeaths, fdeaths,
        gpars=list(xlab="year", ylab="deaths", lty=c(1:3)))

data(nottem)
nott <- window(nottem, end=c(1936,12))
fit <- arima0(nott,order=c(1,0,0), list(order=c(2,1,0), period=12))
nott.fore <- predict(fit, n.ahead=36)
ts.plot(nott, nott.fore$pred, nott.fore$pred+2*nott.fore$se,
        nott.fore$pred-2*nott.fore$se, gpars=list(col=c(1,1,4,4)))
\end{ExampleCode}
\end{Examples}

