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: ComponentModels/Frustrum Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Q2Mat Common: Quaternion/U2Q
Back to the Common Module page