M-File Help: plot_ellipse | View code for 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.
H = plot_circle(C, R, options) as above but return handles. For multiple circles H is a vector of handles, one per circle.
'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 |
© 1990-2012 Peter Corke.