Learn R Programming

astro (version 1.2)

ellipse: Calculates Ellipse Coordinates

Description

Calculates x,y cartesian position coordinates of an ellipse.

Usage

ellipse(xcen = 0, ycen = 0, a = 10, b = 5, e = 1-b/a, pa = 0)

Arguments

xcen
origin (x)
ycen
origin (y)
a
semi-major axis
b
semi-minor axis
e
ellipticity (1 - b/a)
pa
position angle (right=0, up=90)

Value

x
ellipse coordinates along the x-axis
y
ellipse coordinates along the y-axis

Details

Note that 'b' is redundant if values of 'e' are given.

See Also

The astronomy package: astro.