DRAWELLIPSEARC Draw an ellipse arc on the current axis.

   drawEllipseArc(ARC) 
   draw ellipse arc specified by ARC. ARC has the format:
     ARC = [XC YC A B THETA T1 T2]
   or:
     ARC = [XC YC A B T1 T2] (isothetic ellipse)
   with center (XC, YC), main axis of half-length A, second axis of
   half-length B, and ellipse arc running from t1 to t2 (both in degrees,
   in Counter-Clockwise orientation).

   Parameters can also be arrays. In this case, all arrays are suposed to
   have the same size...

   drawEllipseArc(..., NAME, VALUE)
   Specifies one or more parameters name-value pairs, as in the plot
   function.

   drawEllipseArc(AX, ...)
   Sepcifies the handle of theaxis to draw on.

   H = drawEllipseArc(...)
   Returns handle(s) of the created graphic objects.

   Example
     % draw an ellipse arc: center = [10 20], radii = 50 and 30, theta = 45
     arc = [10 20 50 30 45 -90 270];
     figure;
     axis([-50 100 -50 100]); axis equal;
     hold on
     drawEllipseArc(arc, 'color', 'r')

     % draw another ellipse arc, between angles -60 and 70
     arc = [10 20 50 30 45 -60 (60+70)];
     figure;
     axis([-50 100 -50 100]); axis equal;
     hold on
     drawEllipseArc(arc, 'LineWidth', 2);
     ray1 = createRay([10 20], deg2rad(-60+45));
     drawRay(ray1)
     ray2 = createRay([10 20], deg2rad(70+45));
     drawRay(ray2)

   See also:
   ellipses2d, drawEllipse, drawCircleArc

   ---------
   author : David Legland 
   INRA - TPV URPOI - BIA IMASTE
   created the 12/12/2003.

Package: matgeom