Learn R Programming

TauP.R (version 1.5)

PolarPlot: Polar Plot

Description

Plot polar coordinates

Usage

PolarPlot(theta, r, degrees = FALSE, method = plot, geographical = FALSE, ...)

Arguments

theta

Angle coordinates

r

Radius coordinates

degrees

Logical: is 'theta' in degrees?

method

Plot method: can be plot, lines, or points. Note that it expects function names, not character strings.

geographical

Logical: if TRUE, 'theta' goes clockwise from cartesian (0,1) rather than counterclockwise from cartesian (1,0)

Other plotting parameters

Value

None; graphical side effects only.

Examples

Run this code
# NOT RUN {
PolarPlot(pi/8 * 1:16, 0:15, method = plot)
# }

Run the code above in your browser using DataLab