shipunov (version 1.17.1)

Ell: Plot ellipse

Description

Plot ellipse

Usage

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

Value

If plot=FALSE, returns list of components.

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()'

Author

Alexey Shipunov

Details

Plots ellipse based on 'polygon()'.

Examples

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

Run the code above in your browser using DataLab