Learn R Programming

oce (version 0.9-18)

plotPolar: Draw a Polar Plot

Description

Draw a polar plot.

Usage

plotPolar(r, theta, debug=getOption("oceDebug"), ...)

Arguments

r
radii of points to plot.
theta
angles of points to plot, in degrees.
debug
a flag that turns on debugging. Set to 1 to get a moderate amount of debugging information, or to 2 to get more.
...
optional arguments passed to the lower-level plotting functions.

Details

Creates a crude polar plot.

Examples

Run this code
library(oce)
r <- rnorm(50, mean=2, sd=0.1)
theta <- runif(50, 0, 360)
plotPolar(r, theta)

Run the code above in your browser using DataLab