AddAxes:

Path: Common/Graphics

% Adds x,y,z coordinate axes to a figure.

 Specify the size, location, and orientation of the axes. 
 A label may be given which will be prepended to the axis labels
 (X,Y,Z).
--------------------------------------------------------------------------
   Form:
   [h,q] = AddAxes( m, r, T,  h, c, label )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   m             (1)     Length of all coordinate axes 
                             (optional, default 1)
   r            (3,1)    Vector indicating the origin of the axes 
                             (optional, default [0;0;0] )
   T            (3,3)    Transformation matrix 
                             (optional, default identity)
                             Note: a quaternion may be supplied instead
   h             (1)     Figure handle 
                             (optional)
   c             (1)     Color scheme for x, y, z
                           1 - Blue, Green, Red
                           2 - Black, Cyan, Magenta
                           or a single color, 'r', 'b'
                             (optional, default 1)
   label         (:)     Text label to add to axes labels
   

   -------
   Outputs
   -------
   h             (1)     Figure handle
   q             (.)     Struct of graphics handles

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

Children:

Common: General/IsVersionAfter
Common: General/StringToTokens
Common: Graphics/NewFig
Common: Quaternion/Q2Mat

Back to the Common Module page