.BG
.FN matplot
.FN matlines
.FN matpoints
.TL
Plot Columns of Matrices
.CS
matplot(x, y, type="p", lty=1:5, pch=, col=1:4)
matpoints(x, y, type="p", lty=1:5, pch=, col=1:4)
matlines(x, y, type="l", lty=1:5, pch=, col=1:4)
.AG x,y
vectors or matrices of data for plotting.  The first column
of `x' is plotted against the first column of `y', the
second column of `x' against the second column of `y', etc.
If one matrix has fewer columns, plotting will cycle back
through the columns again.  (In particular, either `x' or
`y' may be a vector, against which all columns of the other
argument will be plotted.)
.NA
.AG type=
an optional character string, telling which type of plot
(points, lines, both, none or high-density) should be done
for each plot.  The first character of `type' defines the
first plot, the second character the second, etc.  Elements
of `type' are cycled through; e.g., "pl" alternately plots
points and lines. 
.AG lty=
optional vector of line types.  The first element is the
hardware line type for the first line, etc.  Line types will
be used cyclically until all plots are drawn.
.AG pch=
optional character vector for plotting-characters (only the
first element is used).  The first character is the
plotting-character for the first plot, the
second for the second, etc.  Default is the digits (1
through 9, 0) then the letters.
.AG col=
optional vector of colors.  Colors are used cyclically.
.GR
.Tl
.PP
Function `matplot' generates a new plot; `matpoints' and `matlines' add to the
current plot.
.EX
matplot(x,y,type="pl") #points for 1st col, lines for 2nd
matpoints(x,y,pch="*") # points with "*" for all plots
#  the example plot is produced by:
matplot(iris[,3,],iris[,4,],xlab="Petal Length",
ylab="Petal Width",
sub="1=Setosa, 2=Versicolor, 3=Virginica",
main="Fisher's Iris Data", col=1)
.PI
.KW array
.KW aplot
.WR
