scaleBar2: ScaleBar

Description Usage Arguments Details Author(s) See Also

Description

add a scale bar onto a plot of a spatial object

Usage

1
2
3
scaleBar2(ref, max=1000,nbreaks=5, unit="m", x=NULL, y=NULL,wgs=TRUE, breaks=NULL,
                    cex=1,las=1,lwd=1,font=1,axis.off=1,
                    col="black",digits=1)

Arguments

ref

a spatial object that was plotted, whose coordinates you want the points to be in

max

the maximum distance you want

nbreaks

the number of equally spaced points you want

unit

the units that correspond to max, or breaks

x

The x location of the first point

y

the y location of the first points

wgs

whether the map is in wgs 1984

breaks

if supplied max and nbreaks is ignored. This is a vector of distances that points will be returned for

col

color of the line

cex

size of the text labels

axis.off

character units that the axis labels are away from teh boxes

font

font of the axis units

digits

number of digits to round the axis labels to

Details

Add a scalebar onto a plot

Author(s)

Connor F. White

See Also

scaleBar, north, xdistSpaceing


ConnorFWhite/AssFunc documentation built on May 20, 2019, 4:07 p.m.