M-File Help: plot_ellipse View code for plot_ellipse

plot_ellipse

Draw an ellipse on the current plot

plot_ellipse(a, ls) draws an ellipse defined by X'AX = 0 on the current plot, centred at the origin, with Matlab line style ls.

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

See also

plot_circle


 

© 1990-2012 Peter Corke.