Rose diagram of angle orientations or directions
rose(angles, bins, x = 0, y = 0, col = "black", border = "black",
annot = FALSE, main = "", prop = 1, pts = FALSE, cex = 1, pch = 16,
dotsep = 40, siz = 1, LABS = LABS, LABangle = 180, add = FALSE, SYM = FALSE)
list:
sector angles
sector radii
x size scale
y size scale
x center on page
y center on page
numeric, vector of angles in radians
integer, number of bins
numeric, x location on page
numeric, y location on page
color for pie slices
color for pie borders
logical, annotation
character, main title
proportional plotting, default = 1
logical, add points (default=FALSE)
character expansion
plotting character
separation of dots
size of plot
Labels
angle for plotting Label angles
logical, add to plot (default=FALSE)
logical, symmetric rose diagram (FALSE)
Jonathan M. Lees<jonathan.lees@unc.edu>
Create a rose diagram or add rose diagram to an existing plot. Used for plotting geographic orientations or directions.
package RFOC for distributions on a sphere
ff=c(23,27,53,58,64,83,85,88,93,99,100,
105,113,113,114,117,121,123,125,126,
126,126,127,127,128,128,129,132,132,
132,134,135,137,144,145,145,146,153,
155,155,155,157,163,165,171,172,179,181,186,190,212)
rose((ff-90)*pi/180, 50, x=0, y=0, LABS = c("N", "S", "W", "E"),
annot=TRUE,border='white',LABangle=135, siz =sqrt(2), SYM=FALSE)
rose((ff-90)*pi/180, 50, x=0, y=0, LABS = c("N", "S", "W", "E"),
annot=TRUE,border='white',LABangle=135, siz =sqrt(2), SYM=TRUE)
Run the code above in your browser using DataLab