% plotting a line with an arrowhead
x2=5;
y2=3
z2=6;

plot(plot::Arrow3d([x2, y2, z2]));
rotate3d on 
axis([-6.5 6.5 -6.5 6.5])