circular (version 0.4-93)

circle.control: Auxiliary for Controlling Circular Plots

Description

Auxiliary function as user interface for circular plots. Typically only used when calling plot.circular.

Usage

circle.control(n = 1000, type = "l", col = 1, bg = par("bg"), 
  pch = 1, cex = 1, lty = 1, lwd = 1)

Arguments

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 plot: "p" for points, "l" for lines, "o" for overplotted points and lines, "b", "c" for (empty if "c") points joined by lines, "s" and "S" for stair steps and "h" for histogram-like vertical lines. Finally, "n" does not produce any points or lines.

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 points for possible values and their interpretation. Note that only integers and single-character strings can be set as a graphics parameter (and not NA nor NULL).

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.)

See Also

plot.circular

Examples

Run this code
# NOT RUN {
  plot(rvonmises(10, circular(0), 1), control.circle=circle.control(col=2, lty=2))
# }

Run the code above in your browser using DataCamp Workspace