shipunov (version 1.5)

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

Value

If plot=FALSE, returns list of components.

Details

Plots ellipse based on 'polygon()'.

Examples

Run this code
# NOT RUN {
plot(1:8, type="n")
Ell(4, 5, 6)
# }

Run the code above in your browser using DataLab