grid.control {IDPmisc}R Documentation

Auxilary for Controlling the Grid Appearance of a Rose Plot

Description

Defines the appearance of the guiding elements of rose plots such as circles, rays and labels.

Usage

grid.control(circ.n = 4, circ.r = NULL,
             circ.col = "gray30", circ.lwd = 0.5,
             circ.cex = 0.8, circ.between = 0.3,
             circ.dir = pi/16 * 9,
             circ.sub.n = NULL, circ.sub.r = NULL,
             circ.sub.col = "gray70", circ.sub.lwd = 0.5,
             cyclVar.lab = c("N","NE","E","SE","S","SW","W","NW"),
             cyclVar.cex = 1.2, cyclVar.between = 0,
             cyclVar.centered = TRUE,
             ray.lim = NULL, ray.n = 8)

Arguments

circ.n, circ.r

Number of (main)circles or, alternatively, radius of circles to be drawn, which will be labeled.

circ.col, circ.lwd

Color and line width of circles.

circ.cex

Character size of labels of main circles in multiples of cex as defined in general.control.

circ.between

Distance between labels of the main circle and the circle itself in multiples of circ.cex.

circ.dir

Direction along which the labels of the main circles should be drawn, measured clockwise as radian from North.

circ.sub.n, circ.sub.r

Number of subcircle intervals between two main circles, or, alternatively, the radii of all subcircles.

circ.sub.col, circ.sub.lwd

Color and line width of subcircles.

cyclVar.lab

Labels of cyclic variable placed along the outmost circle.

cyclVar.cex

Charactersize of labels of cyclic variable in multiples of cex as defined in general.control

cyclVar.between

Distance between labels of the cyclic variable and the outmost circle of the rose in multiples of cyclVar.cex.

cyclVar.centered

Labels are positioned relative to their center. cyclVar.centered = FALSE is used for very long labels like (unabbreviated) days of the week. In this case, the labels are positioned relative to the side of the label, which is closest to the circle.

ray.lim

Defines the values for the center and the maximum radius in user coordinates. Be careful with specifying the center different from 0 as this might result in misleading roses.

ray.n

Number of rays.

Value

Returns the arguments conveniently packaged up in a list to supply the arguments for the grid appearance of rose plot.

Author(s)

Rene Locher

See Also

plot.rose, general.control

Examples

grid.control()

[Package IDPmisc version 1.1.21 Index]