rose_geom: Direction Lines and Fans in Circular Diagram

rose_geomR Documentation

Direction Lines and Fans in Circular Diagram

Description

Direction Lines and Fans in Circular Diagram

Usage

rose_line(x, radius = 1, axial = TRUE, add = TRUE, ...)

rose_fan(x, d, radius = 1, axial = TRUE, add = TRUE, ...)

Arguments

x

angles in degrees

radius

of the plotted circle

axial

Logical. Whether x are uniaxial (axial=FALSE) or biaxial (TRUE, the default).

add

logical. Add to existing plot?

...

optional arguments passed to graphics::segments() or graphics::polygon()

d

width of a fan (in degrees)

Value

No return value, called for side effects

Examples

angles <- c(0, 10, 45)
radius <- c(.7, 1, .2)
lwd <- c(2, 1, .75)
col <- c(1, 2, 3)
rose_line(angles, radius = radius, axial = FALSE, add = FALSE, lwd = lwd, col = col)

tectonicr documentation built on Sept. 11, 2024, 6:05 p.m.