PLTcirc | R Documentation |
Plot an arc of a circle with cross-hairs.
PLTcirc(gcol = "black", border = "black", ndiv = 36,
angs = c(-pi, pi), PLOT = TRUE, add = FALSE)
gcol |
cross hairs color |
border |
border color |
ndiv |
number of divisions |
angs |
vector from angs[1] to angs[2] in radians |
PLOT |
logical, if TRUE plot |
add |
logical, if TRUE add to existing plot |
list used for plotting:
x |
x coordinates |
y |
y coordinates |
phi |
angles, radians |
Jonathan M. Lees <jonathan.lees@unc.edu>
PLTcirc(gcol = "purple", border = "black", ndiv = 36, angs = c(-pi, pi), PLOT = TRUE, add = FALSE)
PLTcirc(gcol = NULL, border = "green" , ndiv = 36, angs = c(-pi/4, pi/4), PLOT = TRUE, add = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.