TITLE(plot.default @@ The Default Scatterplot Function)
USAGE(
plot.default(x, y, type="p", col=par("fg"), pch=par("pch"),
    xlim=NULL, ylim=NULL, log="", axes=TRUE,
    frame.plot=TRUE, before=NULL, after=NULL,
    ann=par("ann"), main=NULL, xlab=NULL, ylab=NULL, DOTS)
)
ALIAS(plot.default)
ARGUMENTS(
ARG(x,y @@ the LANG(x) and LANG(y) arguments provide the
x and y coordinates for the plot. Any reasonble way of defining
the coordinates is acceptable.
See the function LANG(xy.coords) for details.)
ARG(type @@ the type of plot desired.  The following possibilities
are possible; LANG("p") for points, LANG("l") for lines,
LANG("o") for overplotted points and lines,
LANG("b") or LANG(c) for points joined by lines,
LANG(s) and LANG(S) for step functions and
LANG("h") for ITALIC(high density) vertical lines.)
ARG(col @@ The colors for lines and points.
Multiple colors can be specified so that each point can
be given its own color.  If there are fewer colors
than points they are recycled in the standard fashion.)
ARG(pch @@ a vector of plotting characters or symbols.)
ARG(xlim @@ the x limits of the plot.)
ARG(ylim @@ the y limits of the plot.)
ARG(log @@ a character string which contains LANG("x")
if the x axis is to be logarithmic, LANG("y") if the
y axis is to be logarithmic and LANG("xy") or LANG("yx")
if both axes are to be logarithmic.)
ARG(axes @@ a logical value indicating whether axes should
be drawn on the plot.)
ARG(frame.plot @@ a logical indicating whether a box
should be drawn around the plot.)
ARG(before @@ an expression to be evaluated after the
plot axes are set up but before any plotting takes place.
This can be useful for drawing background grids or
scatterplot smooths.)
ARG(after @@ an expression to be evaluated after plotting has taken place.)
ARG(ann @@ an logical value indicating whether the default annotation
(title and x and y axis labels) should appear on the plot (default LANG(TRUE)).)
ARG(main @@ a main title for the plot.)
ARG(xlab @@ a label for the x axis.)
ARG(ylab @@ a label for the y axis.)
ARG(DOTS @@ graphical parameters may also be passed as arguments.)
)
VALUE(
This function is invoked for its side effect of drawing
a scatter plot in the active graphics window.
)
REFERENCES(
Cleveland, W. S. (1985).  The Elements of Graphing
Data, Monterey, CA: Wadsworth.
)
SEEALSO(
LANG(LINK(plot)), LANG(LINK(xy.coords)).
)
EXAMPLES(
data(cars)
Speed <- cars$speed
Distance <- cars$dist
plot(Speed, Distance, before=grid(8,8),
    pch=0, cex=1.2, col="blue")
plot(Speed, Distance,
    before=lines(lowess(Speed, Distance), lty="dashed"),
    pch=0, cex=1.2, col="blue")
)
