Learn R Programming

vetools (version 1.3-28)

plotArrow: Plots a neat North arrow

Description

Simple and configurable alternative to draw a "North Arrow" on maps.

Usage

plotArrow(shape="", pos = 1, offset.arrow = c(0, 0), north.lwd = par()$lwd+2, north.col = par()$col, ...)

Arguments

shape
The shape file used to estimate the x and y coordinates on where to plot the arrow's polygons
pos
Where to position the arrow: 1 SW, 2 SE, 3 NE, 4 NW.
offset.arrow
Offset pair (x.offset, y.offset).
north.lwd
Line width for the North lines.
north.col
Color to apply to the North lines
...
With ..., it is possible to specify the color and thickness of the arrow via the col and lwd parameters. Overall magnification is controlled by cex.

See Also

plotLayers