plotArrow: Plots a neat North arrow

Description Usage Arguments Note Author(s) See Also

Description

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

Usage

1
2
3
4
5
6
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.

Note

This implementation should support adding the scale bar.

Author(s)

A.M. Sajo-Castelli

See Also

plotLayers



Search within the vetools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.