The R Project SVN R

Rev

Rev 10648 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10648 Rev 12256
Line 1... Line 1...
1
\name{plot.default}
1
\name{plot.default}
-
 
2
\alias{plot.default}
2
\title{The Default Scatterplot Function}
3
\title{The Default Scatterplot Function}
-
 
4
\description{
-
 
5
  Draw a scatter plot with ``decorations'' such as axes and titles
-
 
6
  in the active graphics window.
-
 
7
}
3
\usage{
8
\usage{
4
plot.default(x, y = NULL, type = "p",  xlim = NULL, ylim = NULL,
9
plot.default(x, y = NULL, type = "p",  xlim = NULL, ylim = NULL,
5
             log = "", main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
10
             log = "", main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
6
             ann = par("ann"), axes = TRUE, frame.plot = axes,
11
             ann = par("ann"), axes = TRUE, frame.plot = axes,
7
             panel.first = NULL, panel.last = NULL,
12
             panel.first = NULL, panel.last = NULL,
8
             col = par("fg"), bg = NA, pch = par("pch"),
13
             col = par("fg"), bg = NA, pch = par("pch"),
9
             cex = par("cex"), lty = par("lty"), lwd = par("lwd"),
14
             cex = par("cex"), lty = par("lty"), lab = par("lab"),
10
             asp = NA, \dots)
15
             lwd = par("lwd"), asp = NA, \dots)
11
}
16
}
12
\alias{plot.default}
-
 
13
\arguments{
17
\arguments{
14
  \item{x,y}{the \code{x} and \code{y} arguments provide the x and y
18
  \item{x,y}{the \code{x} and \code{y} arguments provide the x and y
15
    coordinates for the plot.  Any reasonable way of defining the
19
    coordinates for the plot.  Any reasonable way of defining the
16
    coordinates is acceptable.  See the function \code{\link{xy.coords}}
20
    coordinates is acceptable.  See the function \code{\link{xy.coords}}
17
    for details.}
21
    for details.}
Line 55... Line 59...
55
    \code{\link{points}}.}
59
    \code{\link{points}}.}
56
  \item{pch}{a vector of plotting characters or symbols.}
60
  \item{pch}{a vector of plotting characters or symbols.}
57
  \item{cex}{a numerical value giving the amount by which plotting text
61
  \item{cex}{a numerical value giving the amount by which plotting text
58
    and symbols should be scaled relative to the default}
62
    and symbols should be scaled relative to the default}
59
  \item{lty}{the line type, see \code{\link{par}}.}
63
  \item{lty}{the line type, see \code{\link{par}}.}
-
 
64
  \item{lab}{the specification for the (approximate) numbers of tick
-
 
65
    marks on the x and y axes.}
60
  \item{lwd}{the line width \bold{not yet supported for postscript}.}
66
  \item{lwd}{the line width \bold{not yet supported for postscript}.}
61
  \item{asp}{the \eqn{y/x} aspect ratio, see \code{\link{plot.window}}.}
67
  \item{asp}{the \eqn{y/x} aspect ratio, see \code{\link{plot.window}}.}
62
  \item{\dots}{graphical parameters as in \code{\link{par}(\dots)} may
68
  \item{\dots}{graphical parameters as in \code{\link{par}} may also be
63
    also be passed as arguments.}
69
    passed as arguments.}
64
}
-
 
65
\description{
-
 
66
  Draw a scatter plot with ``decorations'' such as axes and titles
-
 
67
  in the active graphics window.
-
 
68
}
70
}
69
\references{
71
\references{
70
  Cleveland, W. S. (1985)
72
  Cleveland, W. S. (1985)
71
  \emph{The Elements of Graphing Data.}
73
  \emph{The Elements of Graphing Data.}
72
  Monterey, CA: Wadsworth.
74
  Monterey, CA: Wadsworth.