TrajectoryPlot:

Path: Orbit/Visualization

% Draws a 2D or 3D trajectory plot.

   If t is entered it will annotate r with times. If u is entered
   it will draw the vectors u as arrows and points along r.

   r and u may be (3,:) or (2,:)

--------------------------------------------------------------------------
   Form:
   TrajectoryPlot( r, t, u, varargin )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r             (3,:)   Positions
   t             (1,:)   Times
   u             (3,:)   Unit vectors orginating along r
   varargin      {}      Parameter pairs
                         'xlabel'            x axis label
                         'ylabel'            y axis label
                         'zlabel'            z axis label
                         'title'             plot title
                         'ntags              number of u and t tags
                         'time units'        time units
                         'half angle'        half angle of the arrows
                         'arrow line width'  width of the arrow lines

   -------
   Outputs
   -------
   None

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

Children:

Common: ComponentModels/Frustrum
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Quaternion/QForm
Common: Quaternion/U2Q

Back to the Orbit Module page