Ell {shipunov} | R 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)
[Package shipunov version 1.17.1 Index]