M-File Help: plot_ellipse View code for plot_ellipse

plot_ellipse

Draw an ellipse or ellipsoid

plot_ellipse(a, options) draws an ellipse defined by X'AX = 0 on the current plot, centred at the origin.

plot_ellipse(a, C, options) as above but centred at C=[X,Y]. If C=[X,Y,Z] the ellipse is parallel to the XY plane but at height Z.

H = plot_ellipse(a, C, options) as above but return graphic handle.

Options

'edgecolor' the color of the circle's edge, Matlab color spec
'fillcolor' the color of the circle's interior, Matlab color spec
'alpha' transparency of the filled circle: 0=transparent, 1=solid
'alter', H alter existing circles with handle H

Notes

See also

plot_ellipse_inv, plot_circle, plot_box, plot_poly


 

© 1990-2014 Peter Corke.