north_arrow: Draw north arrow in plotted map

north_arrowR Documentation

Draw north arrow in plotted map

Description

This function will draw a simple north arrow in a plotted map

Usage

north_arrow(
  x,
  y,
  size,
  lab = "North",
  cex.lab = 1,
  border = "black",
  fill = c("white", border),
  ...
)

Arguments

x

Position at x axis

y

Position at y axis

size

Arrow size

lab

Label

cex.lab

A numerical vector giving the amount by which plotting label characters should be scaled relative to the default.

border

the color to draw the border. The default, NULL, means to use par("fg"). Use border = NA to omit borders.

For compatibility with S, border can also be logical, in which case FALSE is equivalent to NA (borders omitted) and TRUE is equivalent to NULL (use the foreground colour),

fill

The color for filling polygons of both sides of the north arrow or compass rose. The default, c("white", border), fills one side with white and the other side with the color of the border. Two colors should be provided.

...

graphical parameters such as xpd, lend, ljoin and lmitre can be given as arguments.

Author(s)

Neander M. Heming


HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.