axisPhylo: Axis on Side of Phylogeny

Description Usage Arguments Details Author(s) See Also Examples

Description

This function adds a scaled axis on the side of a phylogeny plot.

Usage

1
axisPhylo(side = 1, ...)

Arguments

side

a numeric value specifying the side where the axis is plotted: 1: below, 2: left, 3: above, 4: right.

...

further arguments to be passed to axis.

Details

The further arguments (...) are used to format the axis. They may be font, cex, col, las, and so on (see the help pages on axis and par).

Author(s)

Emmanuel Paradis

See Also

plot.phylo, add.scale.bar, axis, par

Examples

1
2
3
4
5
6
tr <- rtree(30)
ch <- rcoal(30)
plot(ch)
axisPhylo()
plot(tr, "c", FALSE, direction = "u")
axisPhylo(2, las = 1)

gjuggler/ape documentation built on May 17, 2019, 6:03 a.m.