plotPolar: Draw a Polar Plot

Description Usage Arguments Author(s) Examples

View source: R/oce.R

Description

Creates a crude polar plot.

Usage

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

Author(s)

Dan Kelley

Examples

1
2
3
4
library(oce)
r <- rnorm(50, mean=2, sd=0.1)
theta <- runif(50, 0, 360)
plotPolar(r, theta)

Example output

Loading required package: testthat
Loading required package: gsw

oce documentation built on Jan. 9, 2022, 1:06 a.m.