StateDisplay:

--------------------------------------------------------------------------
   Draw a covariance display in real-time.

   Type StateDisplay for a demo.
--------------------------------------------------------------------------
   Form:
   tag = StateDisplay( action, varargin )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action     (3,:) Action 'initialize' or 'update'

   when 'update'
   state      (:,:) New state

   when 'initialize'
   k          (2,:) Elements of p to display
   e          (3,1) Errors
   state      (3,:) Initial state
   position   (1,4) Position
   hFig       (1,1) Figure handle

   -------
   Outputs
   -------
   tag        (1,1) Handle to the display

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

Children:

Common: Graphics/MeshEllipsoid
Common: Graphics/PlotColor