Site hosted by Angelfire.com: Build your free website today!

ellipsedraw

PURPOSE ^

ELLIPSEDRAW can draw an arbitrary ellipse with given parameters.

SYNOPSIS ^

function hEllipse = ellipsedraw(a,b,x0,y0,phi,lineStyle)

DESCRIPTION ^

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);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004