3-D comet plot
A comet plot is an animated graph in which a circle (the comet head) traces the data points on the screen. The comet body is a trailing segment that follows the head. The tail is a solid line that traces the entire function.
comet3(axes_handle,...) plots into the axes with the handle axes_handle instead of into the current axes (gca).
Create a 3-D comet graph.
t = -10*pi:pi/250:10*pi; comet3((cos(2*t).^2).*sin(t),(sin(2*t).^2).*cos(t),t);