View source: R/plot.circular.R
circle.control | R Documentation |
Auxiliary function as user interface for circular plots. Typically only used when calling plot.circular.
circle.control(n = 1000, type = "l", col = 1, bg = par("bg"),
pch = 1, cex = 1, lty = 1, lwd = 1)
n |
number of points used to interpolate the circle |
type |
1-character string giving the type of plot desired. The following values are possible, for details, see |
col |
The color used. |
bg |
The color to be used for the background of the device region. |
pch |
Either an integer specifying a symbol or a single character to be used as the default in plotting points. See |
cex |
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. |
lty |
The line type. Line types can either be specified as an integer (0=blank, 1=solid (default), 2=dashed, 3=dotted, 4=dotdash, 5=longdash, 6=twodash) or as one of the character strings "blank", "solid", "dashed", "dotted", "dotdash", "longdash", or "twodash", where "blank" uses 'invisible lines' (i.e., does not draw them). Alternatively, a string of up to 8 characters (from c(1:9, "A":"F")) may be given, giving the length of line segments which are alternatively drawn and skipped. See section 'Line Type Specification'. |
lwd |
The line width, a positive number, defaulting to 1. The interpretation is device-specific, and some devices do not implement line widths less than one. (See the help on the device for details of the interpretation.) |
Claudio Agostinelli
plot.circular
plot(rvonmises(10, circular(0), 1), control.circle=circle.control(col=2, lty=2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.