
<div class="code" style="width:562px;"><code>t=(0:pi/40:8*pi)';
u=cos(t); v=sin(t);<br>
plot3(20*t,u,v)<br>
axis([0,600,-1.5,1.5,-1.5,1.5])<br>
grid <span style="color: rgb(160, 32, 240);">on</span>, view(35,25)<br>
hold <span style="color: rgb(160, 32, 240);">on</span><br>
pbaspect([1.8,1.4,1])<br>
arrow3(zeros(3),diag([500,1.5,1.5]),<span
 style="color: rgb(160, 32, 240);">'l'</span>,0.7,[],0)<br>
p=[20*t,u,v]; ndx=11:10:length(t);<br>
p2=p(ndx,:); p1=p(ndx-3,:);<br>
arrow3(p1,p2,<span style=