Ellipse Function

For drawing ellipses and circles


Description

The \(Ellipse\) function draws an ellipse or circle at the specified X and Y coordinates.

The position can be specified with real x/y values or an object of class Point.


Syntax

Ellipse (x, y, xr, yr)

Ellipse (x, y, xr, yr, id)

Ellipse (x, y, xr, yr, id, options)

Ellipse (Point, xr, yr)

Ellipse (Point, xr, yr, id)

Ellipse (Point, xr, yr, id, options)


Parameter variants

Ellipse (Point, xr, yr)

Draws an ellipse with the center at the coordinate specified in the Object Point. xr and yr is the radius of the X and Y axes.


Ellipse (x, y, xr, yr)

Draw an ellipse with the center at the specified coordinate. xr and yr is the radius of the X and Y axes.


Ellipse (x, y, xr, yr, id)

If the worksheet contains multiple plot boxes, the number of the optional parameter id determines in which box the ellipse will be displayed.


Ellipse (x, y, xr, yr, "dash")

The Line Type can be changed to solid, dash, or dot (solid, dashed, or dotted).


Ellipse (x, y, xr, yr, "thickness:3")

Thickness: changes the width of the line (in the example: 3 pixels)


Ellipse (x, y, xr, yr, "color:#rrggbb")

Color: # changes the color of the line The color is given in 6 hexadecimal numbers for red, green and blue.


Example

Several optional parameters, separated by commas, can be specified.