plotfan: Plot a fan

Description Usage Arguments Examples

View source: R/plot2d.R

Description

Plot a fan

Usage

1
2
plotfan(theta, a = 1, ab = 1, orig = c(0, 0), fun = graphics::plot,
  ...)

Arguments

theta

Angle in polar coordinate system

a

Radius of start and end points of the arrow.

ab

Semi-major over semi-minor. ab=1 for a Ring.

orig

Origin

fun

Plot function. default = plot

...

More options in plot function

Examples

1
2
3
4
n=50
theta =0:n
plotpcs(theta = theta, a=1, ab=1, asp=1)
plotfan(theta = theta * 10, a=1, ab=1, fun=polygon)

happynotes/RoundAndRound documentation built on Jan. 31, 2020, 12:05 p.m.