matplot(x, y, type = "p", lty = 1:5, lwd = 1, lend = par("lend"), pch = NULL, col = 1:6, cex = NULL, bg = NA, xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, ..., add = FALSE, verbose = getOption("verbose")) matpoints(x, y, type = "p", lty=1:5, lwd=1, pch=NULL, col = 1:6, ...) matlines (x, y, type = "l", lty=1:5, lwd=1, pch=NULL, col = 1:6, ...)
x,y
: vectors or matrices of data for plotting. The number of rows should match. If one of them are missing, the other is taken as y and an x vector of 1:n is used. Missing values (NAs) are allowed.
add
: logical. If TRUE, plots are added to current one, using points and lines.
verbose
: logical. If TRUE, write one line of what is done.
See plot for more parameters.
> matplot(trees[,c(2,3)], pch=c(16,18), typ="o", ylab="")