powered by
Direction Lines and Fans in Circular Diagram
rose_line(x, radius = 1, axial = TRUE, add = TRUE, ...)rose_fan(x, d, radius = 1, axial = TRUE, add = TRUE, ...)
rose_fan(x, d, radius = 1, axial = TRUE, add = TRUE, ...)
No return value, called for side effects
angles in degrees
of the plotted circle
Logical. Whether x are uniaxial (axial=FALSE) or biaxial (TRUE, the default).
x
axial=FALSE
TRUE
logical. Add to existing plot?
optional arguments passed to graphics::segments() or graphics::polygon()
graphics::segments()
graphics::polygon()
width of a fan (in degrees)
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)
Run the code above in your browser using DataLab