Path: Common/Graphics
% Draws a 3D arrow into an existing figure
You need to create a figure to draw it into such as: NewFig('3D Arrow');
Type Arrow3D for a demo showing cartesian axes.
--------------------------------------------------------------------------
Form:
h = Arrow3D(r,l,g,u,c,alpha,hA) % initialize
Arrow3D(h,g,u) % update arrow's location
--------------------------------------------------------------------------
------
Inputs
------
r (1,1) Radius
l (1,1) Length
g (3,1) Origin
u (3,1) Unit vector
c (1,3) Color [r g b], each element 0 to 1
alpha (1,1) Transparence 0 to 1
hA (1,1) Handle to axies
-------
Outputs
-------
h (1,1) Handle to patch object
------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: ComponentModels/Box Common: ComponentModels/Frustrum Common: General/DeBlankLT Common: General/Watermark Common: Graphics/DrawVertices Common: Graphics/NewFig Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Q2Mat Common: Quaternion/QTForm Common: Quaternion/U2Q Math: Geometry/Perpendicular Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the Common Module page