Ell: Plot ellipse

View source: R/aaa.r

EllR Documentation

Plot ellipse

Description

Plot ellipse

Usage

Ell(x, y, width, height=width, theta=2*pi, npoints=100, plot=TRUE, ...)

Arguments

x

x coordinate of center

y

y coordinate of center

width

length of major axis

height

length of minor axis

theta

rotation

npoints

number of points to send to polygon

plot

if TRUE, add to current device, if FALSE, returns list of components

...

arguments to 'polygon()'

Details

Plots ellipse based on 'polygon()'.

Value

If plot=FALSE, returns list of components.

Author(s)

Alexey Shipunov

Examples

plot(1:8, type="n")
Ell(4, 5, 6)

shipunov documentation built on Feb. 16, 2023, 9:05 p.m.

Related to Ell in shipunov...