Hi Tom,
thanks for that nice contribution. I would enjoy if you could modify the input arguments with string propertys (similar to most of the inbuilt-functions (f.e. 'LineWidth', 2)), in particular to add a 'Parent' property to get rid of the problems with multiple axes!
Thanks,
Daniel
Hello, Tomazc --
Please try this and write if you have questions. Thanks.
% Animation Example
figure(5)
t=(0:pi/40:8*pi)'; u=cos(t); v=sin(t);
plot3(20*t,u,v)
axis([0,600,-1.5,1.5,-1.5,1.5])
grid on, view(35,25)
hold on
pbaspect([1.8,1.4,1])
arrow3(zeros(3),diag([500,1.5,1.5]),'l',0.7,[],0)
p=[20*t,u,v]; inc=4:1:length(t);
p2=p(inc,:); p1=p(inc-1,:);
hn=arrow3(p1(1,:),p2(1,:),'0_b',0.7);
for i=2:1:length(p1)
delete(hn)
hn=arrow3(p1(i,:),p2(i,:),'0_b',0.7);
pause(0.01)
end
hold off
Comment only