function ellipse
Creates an ellipse. This is defined by respective RADIUS1 and RADIUS2, axis position angle (in degrees) and Ellipse center position (x, y) in the array. Optional keywords are naxis1, naxis2 which determine the size of the array. If not set, the size of the array is determined from global variables.
Syntax
result = ellipse(X, Y, RADIUS1 [, RADIUS2 [, ANGLE]] [, naxis1=value] [, naxis2 = value])
Arguments
X: | The center of the ellipse in the x-axes |
Y: | The center of the ellipse in the y-axes |
RADIUS1: | Radius of the major axes |
RADIUS2: | Optional, radius of the minor axes |
ANGLE: | Optional, position angle of the ellipse |
naxis1=value: | Optional, the size of the resulting array in the first dimension |
naxis2=value: | Optional, the size of the resulting array in the second dimension |
See also
function circle