PlotF:

Path: Common/Graphics

% Create any number of plot pages in one call. Utilizes Plot2D. 
 The function is called as:

   g = PlotF( 'initialize', [], [], g );
   g = PlotF( 'add points', y, t, g );
       PlotF( 'plot', g )

 All data is stored in g so this function may be called multiple times. 
--------------------------------------------------------------------------
   Form:
   g = PlotF( action, y, t, g )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action      (1,:)    Action string
   y           (:,1)    Vector to plot
   t           (1,1)    Time             (sec)
   g           (:)      Data structure
                        .xLabel
                        .yLabel {:}   Cell array with y labels
                        .n      (1,1) Number of plot points
                        .page   {}    Cell array with indices to plots on each page
                        .title  {}    Title for each page
   ax          (1,1)    Handle to an axes

   -------
   Outputs
   -------
   g           (:)      Data structure

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

Children:

Common: Graphics/Plot2D

Back to the Common Module page