| Line 1... |
Line 1... |
| 1 |
\name{plot}
|
1 |
\name{plot}
|
| 2 |
\title{Generic X-Y Plotting}
|
2 |
\title{Generic X-Y Plotting}
|
| 3 |
\alias{plot}
|
3 |
\alias{plot}
|
| 4 |
\synopsis{
|
- |
|
| 5 |
plot(x, y, \dots)
|
- |
|
| 6 |
}
|
- |
|
| 7 |
\usage{
|
4 |
\usage{
|
| 8 |
plot(x, y, xlim=range(x), ylim=range(y), type="p",
|
- |
|
| 9 |
main, xlab, ylab, \dots)
|
5 |
plot(x, y, \dots)
|
| 10 |
}
|
6 |
}
|
| 11 |
\arguments{
|
7 |
\arguments{
|
| 12 |
\item{x}{the coordinates of points in the plot. Alternatively, a
|
8 |
\item{x}{the coordinates of points in the plot. Alternatively, a
|
| 13 |
single plotting structure, function or \emph{any \R object with a
|
9 |
single plotting structure, function or \emph{any \R object with a
|
| 14 |
\code{plot} method} can be provided.}
|
10 |
\code{plot} method} can be provided.}
|
| 15 |
\item{y}{the y coordinates of points in the plot, \emph{optional}
|
11 |
\item{y}{the y coordinates of points in the plot, \emph{optional}
|
| 16 |
if \code{x} is an appropriate structure.}
|
12 |
if \code{x} is an appropriate structure.}
|
| 17 |
\item{xlim, ylim}{the ranges to be encompassed by the x and y axes.}
|
13 |
\item{\dots}{graphical parameters can be given as arguments to
|
| - |
|
14 |
\code{plot}. Many methods will also accept the following arguments:
|
| - |
|
15 |
|
| 18 |
\item{type}{what type of plot should be drawn. Possible types are
|
16 |
\item{type}{what type of plot should be drawn. Possible types are
|
| 19 |
\itemize{
|
17 |
\itemize{
|
| 20 |
\item \code{"p"} for \bold{p}oints,
|
18 |
\item \code{"p"} for \bold{p}oints,
|
| 21 |
\item \code{"l"} for \bold{l}ines,
|
19 |
\item \code{"l"} for \bold{l}ines,
|
| 22 |
\item \code{"b"} for \bold{b}oth,
|
20 |
\item \code{"b"} for \bold{b}oth,
|
| 23 |
\item \code{"c"} for the lines part alone of \code{"b"},
|
21 |
\item \code{"c"} for the lines part alone of \code{"b"},
|
| 24 |
\item \code{"o"} for both \dQuote{\bold{o}verplotted},
|
22 |
\item \code{"o"} for both \dQuote{\bold{o}verplotted},
|
| 25 |
\item \code{"h"} for \dQuote{\bold{h}istogram} like (or
|
23 |
\item \code{"h"} for \dQuote{\bold{h}istogram} like (or
|
| 26 |
\dQuote{high-density}) vertical lines,
|
24 |
\dQuote{high-density}) vertical lines,
|
| 27 |
\item \code{"s"} for stair \bold{s}teps,
|
25 |
\item \code{"s"} for stair \bold{s}teps,
|
| 28 |
\item \code{"S"} for other \bold{s}teps, see \emph{Details} below,
|
26 |
\item \code{"S"} for other \bold{s}teps, see \emph{Details} below,
|
| 29 |
\item \code{"n"} for no plotting.
|
27 |
\item \code{"n"} for no plotting.
|
| - |
|
28 |
}
|
| - |
|
29 |
All other \code{type}s give a warning or an error; using, e.g.,
|
| - |
|
30 |
\code{type = "punkte"} being equivalent to \code{type = "p"} for S
|
| - |
|
31 |
compatibility.
|
| 30 |
}
|
32 |
}
|
| 31 |
All other \code{type}s give a warning or an error; using, e.g.,
|
33 |
\item{main}{an overall title for the plot: see \code{\link{title}}.}
|
| 32 |
\code{type = "punkte"} being equivalent to \code{type = "p"} for S
|
34 |
\item{sub}{a sub title for the plot: see \code{\link{title}}.}
|
| - |
|
35 |
\item{xlab}{a title for the x axis: see \code{\link{title}}.}
|
| 33 |
compatibility.
|
36 |
\item{ylab}{a title for the y axis: see \code{\link{title}}.}
|
| 34 |
}
|
37 |
}
|
| 35 |
\item{main}{an overall title for the plot.}
|
- |
|
| 36 |
\item{xlab}{a title for the x axis.}
|
- |
|
| 37 |
\item{ylab}{a title for the y axis.}
|
- |
|
| 38 |
\item{\dots}{graphical parameters can be given as arguments to
|
- |
|
| 39 |
\code{plot}.}
|
- |
|
| 40 |
}
|
38 |
}
|
| 41 |
\description{
|
39 |
\description{
|
| 42 |
Generic function for plotting of \R objects. For more details about
|
40 |
Generic function for plotting of \R objects. For more details about
|
| 43 |
the graphical parameter arguments, see \code{\link{par}}.
|
41 |
the graphical parameter arguments, see \code{\link{par}}.
|
| 44 |
}
|
42 |
}
|