DeltaVChart:

% Generate a stacked bar chart showing delta-v directions over time

--------------------------------------------------------------------------
   Form:
     h = DeltaVChart( t, dV );
           -OR-
     h = DeltaVChart( t, dVSet, index );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   t          (1,:)    Time vector.
   dV         (3,:)    Delta-V history.
         -OR-
   t          (1,:)    Time vector.
   dVSet      {1,N}    Set of delta-V histories, one for each run.
   index      (1,k)    Array of simulation run numbers.

   -------
   Outputs
   -------
   h           (1,k)   Figure handles
--------------------------------------------------------------------------

Children:

Math: Linear/Mag