Maxima Graphic object
ellipse (xc, yc, a, b, ang1, ang2)
Draws ellipses and circles in 2D.
2D
ellipse (xc, yc, a, b, ang1, ang2)
plots an ellipse centered at [xc, yc]
with horizontal and vertical
semi axis a and b, respectively, from angle ang1 to angle
ang2.
This object is affected by the following graphic options: nticks
,
transparent
, fill_color
, border
, line_width
,
line_type
, key
and color
.
Example:
(%i1) load(draw)$ (%i2) draw2d(transparent = false, fill_color = red, color = gray30, transparent = false, line_width = 5, ellipse(0,6,3,2,270,-270), /* center (x,y), a, b, start & end in degrees */ transparent = true, color = blue, line_width = 3, ellipse(2.5,6,2,3,30,-90), xrange = [-3,6], yrange = [2,9] )$