plotarcs | R Documentation |
The function plotarcs()
plots a circle
in the plane, with the given arcs overlayed with a thicker line.
plotarcs( arcmat, labels=FALSE, main=NULL, margintext=NA, rad=1,
lwd=3, pch=20, cex=1.5, add=FALSE, ... )
arcmat |
an Nx2 matrix with an arc definition in each row;
so the total number of arcs is N.
The 1st number in the row is the center of the arc,
and the 2nd number is the length of the arc;
both in radians. |
labels |
if |
main |
Text to put above the plot, passed to |
margintext |
if not |
rad |
radius of the arcs, which are centered at (0,0).
A smaller radius can be used with |
lwd |
line width of the arcs. The default |
pch |
symbol for the endpoints, see |
cex |
expansion factor for the endpoints, see |
add |
when |
... |
extra arguments for the both the arcs and their endpoints,
passed to both |
plotarcs()
returns TRUE
or FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.