Description Usage Arguments Author(s) See Also Examples
Add axis to a plot of circular data points on the current graphics device.
1 2 3 |
at |
the points at which tick-marks are to be drawn. If |
labels |
a vector of character strings to be placed at the
tickpoints. If |
units |
either |
template |
either |
modulo |
either |
zero |
the zero of the plot (in radians, counterclockwise). If |
rotation |
the rotation of the plot. If |
tick |
logical: if |
lty, lwd |
line type, width for the tick marks. If missing means to use ‘par("lty")’ and ‘par("lwd")’. |
cex |
a numerical value giving the amount by which plotting text and symbols should be scaled relative to the default. |
col |
color for the the tick marks. If missing means to use ‘par("col.axis")’. |
font |
font for text. If missing means to use ‘par("font.axis")’. |
tcl |
The length of tick marks. |
tcl.text |
The position of the axis labels. |
digits |
number of digits used to print axis values. |
Claudio Agostinelli
plot.circular
and ticks.circular
.
1 2 3 4 5 6 7 8 9 | data.vm <- rvonmises(n=100, mu=circular(0), kappa=3)
plot(data.vm, axes=FALSE, ticks=FALSE)
axis.circular(at=circular(seq(0, 11/6*pi, pi/6)), labels=c("0",
expression(frac(pi,6)), expression(paste(frac(1,3), pi)),
expression(frac(pi,2)), expression(paste(frac(2,3), pi)),
expression(paste(frac(5,6), pi)), expression(pi),
expression(paste(frac(7,6), pi)), expression(paste(frac(4,3), pi)),
expression(paste(frac(3,2), pi)), expression(paste(frac(5,3), pi)),
expression(paste(frac(11,6), pi))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.