The R Project SVN R

Rev

Rev 59039 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42333 ripley 1
% File src/library/stats/man/ts.plot.Rd
68948 ripley 2
% Part of the R package, https://www.R-project.org
59039 ripley 3
% Copyright 1995-2007 R Core Team
42333 ripley 4
% Distributed under GPL 2 or later
5
 
27497 ripley 6
\name{ts.plot}
56186 murdoch 7
\alias{ts.plot}
27497 ripley 8
\title{Plot Multiple Time Series}
9
\usage{
10
ts.plot(\dots, gpars = list())
11
}
12
\arguments{
13
  \item{\dots}{one or more univariate or multivariate time series.}
14
  \item{gpars}{list of named graphics parameters to be passed to the
15
    plotting functions.  Those commonly used can be supplied directly in
16
    \code{\dots}.}
17
}
18
\description{
19
  Plot several time series on a common plot. Unlike
20
  \code{\link{plot.ts}} the series can have a different time bases,
21
  but they should have the same frequency.
22
}
23
\note{
24
  Although this can be used for a single time series, \code{plot} is
25
  easier to use and is preferred.
26
}
27
\value{
28
  None.
29
}
30
 
31
\seealso{\code{\link{plot.ts}}}
32
 
33
\examples{
41508 ripley 34
require(graphics)
35
 
27497 ripley 36
ts.plot(ldeaths, mdeaths, fdeaths,
37
        gpars=list(xlab="year", ylab="deaths", lty=c(1:3)))
38
}
39
\keyword{ts}