comet3(z)comet3(x,y,z)comet3(x,y,z,p)comet
comet3(z) displays an animated, three-dimensional comet plot of the vector z.
comet3(x,y,z) displays an animated comet plot of the curve through the points [x(i),y(i),z(i)].
comet3(x,y,z,p) uses a comet body of length p*length(y). The default value for p is 0.1.
comet3, with no arguments, provides a demonstration of the three-dimensional comet plot.
t = -10*pi:pi/250:10*pi;comet3((cos(2*t).^2).*sin(t),(sin(2*t).^2).*cos(t),t)
comet,quakedemo
(c) Copyright 1994 by The MathWorks, Inc.