Debian Codegraph @

man/mpl.Rd

raw
1 \name{mpl}
2 \alias{mpl}
3 \alias{p.m}
4 \title{Simple Matrix Plots}
5 \description{
6 Do simple matrix plots, providing an easy interface to
7 \code{\link{matplot}} by using a default x variable.
8 }
9 \usage{
10 mpl(mat, \dots)
11 p.m(mat, \dots)
12 }
13 \arguments{
14 \item{mat}{numeric matrix.}
15 \item{\dots}{further arguments passed to \code{\link{matplot}},
16 e.g., \code{type}, \code{xlab}, etc.}
17 }
18 \details{
19 \code{p.m(m)} use the first column of \code{m} as \eqn{x} variable,
20 whereas \code{mpl(m)} uses the integers 1, 2, \ldots, \code{nrow(m)}
21 as coordinates and \code{rownames(m)} as axis labels if possible.
22 }
23 \note{These were really created for playing around with curves etc, and
24 probably should be \emph{deprecated} since in concrete examples, using
25 \code{matplot()} directly is more appropriate.
26 }
27 \author{Martin Maechler}
28 \seealso{\code{\link{matplot}},
29 \code{\link{plot.mts}(*, plot.type = "single")}.}
30 \examples{
31 data(animals, package = "cluster")
32 mpl(animals, type = "l")
33 }
34 \keyword{hplot}
35 \keyword{array}