circle4compass_rose: Draws circle over compass rose in plotted map

circle4compass_roseR Documentation

Draws circle over compass rose in plotted map

Description

Draws circle over compass rose in plotted map

Usage

circle4compass_rose(
  x,
  y,
  radius = c(1, 1.3),
  nv = 200,
  bearing = 0,
  border = NULL,
  fill = NA,
  lty = 1,
  density = NULL,
  angle = 45,
  lwd = 1
)

Arguments

x

Position at x axis

y

Position at y axis

radius

circle radius

nv

number of 'vertices', points that maken the circle

bearing

bearing direction in degrees

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.

lty

the line type to be used, as in par.

density

the density of shading lines, in lines per inch. The default value of NULL means that no shading lines are drawn. A zero value of density means no shading nor filling whereas negative values and NA suppress shading (and so allow color filling).

angle

the slope of shading lines, given as an angle in degrees (counter-clockwise).

lwd

A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. See par for details


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