AnglePatch:

Path: Common/Graphics

% Draw a patch showing the inner angle between two vectors.
 Enter a rotation axis if the angle may be more than 180 degrees.
--------------------------------------------------------------------------
   Form:
   AnglePatch( v1, v2, z, c, f )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v1             (3,1)  First vector
   v2             (3,1)  Second vector
   z              (3,1)  Rotation axis, optional
   c              (:)    Color code, 'g', 'r', etc
   f              (1,1)  Saturation, between 0 and 1

   -------
   Outputs
   -------
   none

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

Children:

Common: Graphics/NewFig
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/Mag
Math: Linear/Unit

Back to the Common Module page