ACPlot:

Path: AC/ACDynamics

% Plots the aircraft data. opt is 'info', 'init', 'store', 'plot'
   If opt is 'info' d is a list of plots. Otherwise it is
   the d returned from ACPlot. The calls are

   d = ACPlot( x, 'init', plots, g, nPts, dT, nSim )

   do k = 1:nSim
     d = ACPlot( x, 'store', d, control )
   end

   ACPlot( x, 'plot', d )

   Possible plots are:

   Altitude
   Euler angles
   Quaternion
   Angular rate
   Position ECI
   Velocity
   Alpha (also get beta and total velocity)
   Mass 
   Inertia 
   CG  
   Engine states
   Actuator states
   Sensor states
   Flex model states
   Disturbance model states

--------------------------------------------------------------------------
   Form:
   d = ACPlot( x, opt, d, g, nPts, dT, nSim )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x      (:)     Aircraft state vector or 'plot' if opt is 'store'
   opt    (n,:)   Options 'info'
                          'init'
                          'store'
                          'plot'
   d      (:)     Internal data structure or list of plots
   g      (:)     Aircraft data structure or d.control when opt = 'store'
   nPts   (1,1)   Number of plot steps
   dT     (1,1)   Sim time step
   nSim   (1,1)   Number of sim steps
   units  (1,:)   Units
                                  
   -------
   Outputs
   -------
   d      (:)     Internal data structure or list of plots

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

Children:

AC: ACCoord/AlphBeta
AC: ACCoord/ECIToNED
AC: ACCoord/EulNED
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Mat2Q
Common: Quaternion/Q2Eul
Common: Quaternion/Q2Mat
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Transform/Altitude
Common: Transform/Mat2Eul
Math: Linear/Mag

Back to the AC Module page