ELLIPSEDRAW can draw an arbitrary ellipse with given parameters. The properties of that ellipse plot can be customized by setting the ellipse handle. hEllipse = ellipsedraw(a,b,x0,y0,phi,lineStyle) Input parameters: a Value of the major axis b Value of the minor axis x0 Abscissa of the center point of the ellipse y0 Ordinate of the center point of the ellipse phi Angle between x-axis and the major axis lineStyle Definition of the plotted line style Output: hEllipse Handle of the ellipse Simple usage: ellipsedraw(5,3); ellipsedraw(5,3,'g--'); ellipsedraw(5,3,pi/4); Complete usage: h = ellipsedraw(5,3,1,-2,pi/4,'r-.'); set(h,'LineWidth',2);