]> git.donarmstrong.com Git - ape.git/blob - man/axisPhylo.Rd
b96c83172ae34628189de64d02053cbc20ca33dc
[ape.git] / man / axisPhylo.Rd
1 \name{axisPhylo}
2 \alias{axisPhylo}
3 \title{Axis on Side of Phylogeny}
4 \usage{
5 axisPhylo(side = 1, ...)
6 }
7 \arguments{
8   \item{side}{a numeric value specifying the side where the axis is
9     plotted: 1: below, 2: left, 3: above, 4: right.}
10   \item{\dots}{further arguments to be passed to \code{axis}.}
11 }
12 \description{
13   This function adds a scaled axis on the side of a phylogeny plot.
14 }
15 \details{
16   The further arguments (\code{...}) are used to format the axis. They
17   may be \code{font}, \code{cex}, \code{col}, \code{las}, and so on (see
18   the help pages on \code{\link[graphics]{axis}} and
19   \code{\link[graphics]{par}}).
20 }
21 \author{Emmanuel Paradis \email{Emmanuel.Paradis@mpl.ird.fr}}
22 \seealso{
23   \code{\link{plot.phylo}}, \code{\link{add.scale.bar}},
24   \code{\link[graphics]{axis}}, \code{\link[graphics]{par}}
25 }
26 \examples{
27 tr <- rtree(30)
28 ch <- rcoal(30)
29 plot(ch)
30 axisPhylo()
31 plot(tr, "c", FALSE, direction = "u")
32 axisPhylo(2, las = 1)
33 }
34 \keyword{aplot}