X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fadd.scale.bar.Rd;h=3f1ee59c75332f99f3dbb567113e51db73735581;hb=da67dccb93d35408baa48b141fcda921772c8b9c;hp=3736ca19c617dcff77a052425a73aaa10f2a2bf3;hpb=5de3d16fdc60bcbab2ae04933bca4ab931ed48f8;p=ape.git diff --git a/man/add.scale.bar.Rd b/man/add.scale.bar.Rd index 3736ca1..3f1ee59 100644 --- a/man/add.scale.bar.Rd +++ b/man/add.scale.bar.Rd @@ -2,13 +2,19 @@ \alias{add.scale.bar} \title{Add a Scale Bar to a Phylogeny Plot} \usage{ -add.scale.bar(x, y, length = NULL, ...) +add.scale.bar(x, y, length = NULL, ask = FALSE, + lwd = 1, lcol = "black", ...) } \arguments{ \item{x}{x location of the bar (can be left missing).} \item{y}{y location of the bar (can be left missing).} \item{length}{a numeric value giving the length of the scale bar. If none is supplied, a value is calculated from the data.} + \item{ask}{a logical; if \code{TRUE} the user is asked to click where + to draw the bar. The default is \code{FALSE}.} + \item{lwd}{the width of the bar.} + \item{lcol}{the colour of the bar (use \code{col} for the colour of + the text).} \item{\dots}{further arguments to be passed to \code{text}.} } \description{ @@ -28,7 +34,7 @@ add.scale.bar(x, y, length = NULL, ...) The function \code{\link[graphics]{locator}} may be used to determine the \code{x} and \code{y} arguments. } -\author{Emmanuel Paradis \email{Emmanuel.Paradis@mpl.ird.fr}} +\author{Emmanuel Paradis} \seealso{ \code{\link{plot.phylo}}, \code{\link{axisPhylo}}, \code{\link[graphics]{locator}}