.BG
.VE $Header: /usr3/s/current/s/.help/RCS/plot,v 1.2 83/12/30 19:32:11 rab Exp $
.FN plot
.TL
plot: Scatter Plots
.CS
plot(x, y)
.PP
.AG x,y
coordinates of points on the scatter plot.  A time-series or
structure containing components named `x' and `y' may also
be given for `x'.  Missing values (NAs) are allowed.
.PP
Graphical parameters may also be supplied as arguments to this
function (see `par').
.PP
Graphical parameters that are particularly useful with `plot':
.IP type=
where values of "p", "l", "b", "o", "n", and "h" produce points,
lines, both, both (overlaid), nothing, and high-density lines.
.IP log=
where values of "x", "y", or "xy" specify which axes are to
be on a logarithmic scale.
.IP main=
main title
.IP sub=
sub-title
.IP xlab=
x axis label  (defaults to the name of the `x' dataset).
.IP ylab=
y axis label  (defaults to the name of the `y' dataset).
.EX
plot(x,y)     #simple scatter plot
plot(x,y,type="l")     #connected lines
plot(x,y,log="xy")      #log-log plot
plot(x,y,type="n");text(x,y,seq(x))   # do not plot, then
      # use text to label each point from 1 to n
plot(gnp,type="h")   #high-density plot of time-series
plot(density(x),type="l")  #plot of xy structure
# the example plot is produced by:
plot(corn.rain,corn.yield)
.PI
.KW plot*
.KW hplot*
.WR
