polar.plot {plotrix}R Documentation

polar.plot

Description

polar.plot displays a plot of radial lines or a polygon centered at the midpoint of the plot frame on a 0:(2*pi) circle. Positions are interpreted as beginning at the right and moving counterclockwise.

Usage

 polar.plot(lengths,polar.pos,labels,label.pos,rp.type="r",...)

Arguments

lengths numeric data vector. Magnitudes will be represented as line lengths.
polar.pos numeric vector of positions on a 0:360 degree circle. These will be rescaled to radians.
labels text labels to place on the periphery of the circle. This defaults to labels every 20 degrees. For no labels, pass an empty string.
label.pos positions of the labels in degrees
rp.type Whether to plot radial lines or a polygon.
... additional arguments passed to radial.plot and then to plot.

Value

nil

See Also

radial.plot

Examples

 testlen<-c(rnorm(36)*2+5)
 testpos<-seq(0,350,by=10)
 polar.plot(testlen,testpos,main="Test Polar Plot")

[Package plotrix version 1.2 Index]