arrow3d edit page

plot three dimensional arrows

Syntax

arrow3d(v)
arrow3d(v,'arrowWidth',0.05)

Input

v vector3d

Options

label text to be displayed at the end of the arrow
labeled
faceColor
arrowWidth width of the tail (default 0.02)
antipodal

Example

arrow3d(zvector,'FaceColor','red','label','z')
hold on
arrow3d(xvector,'FaceColor','blue','label','x')
arrow3d(yvector,'FaceColor','green','label','y')
arrow3d(0.5*vector3d(1,1,1,'antipodal'))
hold off

See also

vector3d.scatter3 vector3d.plot3 vector3d.text3