PlottingToolStruct:

Path: Plotting/Utilities

% Save 3D trajectories in the PlottingTool format.
   Use the output of this function in this call:
      PlottingTool( 'load sim data', d );
--------------------------------------------------------------------------
   Form:
   d = PlottingToolStruct( r, t )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r               (3,n)   3D position vectors
   t               (1,n)   Time vector, optional

   -------
   Outputs
   -------
   d                (:)    Data structure formatted for PlottingTool
    .data
    .dataNames
    .time
    .groups

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

Back to the Plotting Module page