plotpcs {RoundAndRound}R Documentation

Plot in polar coordinate system

Description

Plot in polar coordinate system

Usage

plotpcs(theta, a, 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


n=50
par(mfrow=c(2,1))
plotpcs(theta = 1:n * 15, a=1:n/10, ab=1, type='l', asp=1)
plotpcs(theta = 1:n * 10, a=1:n/10, ab=1, type='l', asp=1)
xy = PCS2CCS(theta = 1:n * 10, a=1:n/10, ab=1)
xy[,1]=xy[,1]+1
points(xy, pch=19, col=terrain.colors(nrow(xy)))


[Package RoundAndRound version 0.0.1 Index]