Animator:

--------------------------------------------------------------------------
   Animate a set of 2xN or 3xN matrices over N steps.
   After initializing, use the "Animate" menu in the figure to play the
   animation.

   Example:
   t = linspace(0,10,200);
   r = [sin(t);cos(t);t/10];
   Animator( [], r );

--------------------------------------------------------------------------
   Form:

   [fh,ph,bh] = Animator( fig, data, background, style, markersize, linewidth );
--------------------------------------------------------------------------

   ------
   Inputs  (single data set)
   ------
   fig              (1)   Figure handle for the plot. If empty, a new
                          figure is created.
   data            (M,N)  Data to be animated M = 2 or 3. N = # samples.
   background       (1)   Flag. Plot the trajectory as a background?
   style            (:)   String indicating color, linestyle, marker
                           For example: 'r:x'. Must be in this order.
   markersize       (1)   The marker size to use for the animated point
   linewidth        (1)   The line width to use for the background line

   ------
   Inputs  (multiple data sets)
   ------
   fig              (1)   Figure handle for the plot. If empty, a new
                          figure is created.
   data             {K}   Cell array with K sets of data.
   background      (1,K)  Array of K background flags.
   style            {K}   Cell array of K style strings.
   markersize       (K)   Array of K marker sizes
   linewidth        (K)   Array of K line widths

     NOTE: If a single property (background, style, etc.) is supplied when
           there are multiple data sets, then that same property is used
           for all data sets.

   -------
   Outputs
   -------
   fh               (1)   Figure handle
   ph              (1,K)  Point handle
   bh              (1,K)  Background handle
   mh              (1,3)  Menu handles

--------------------------------------------------------------------------

Children:

Common: Graphics/NewFig