comet(y)
comet(x,y)
comet(x,y,p)
comet
comet(y)
displays an animated comet plot of the vector y
.
comet(x,y)
displays an animated comet plot of vector y
versus vector x
.
comet(x,y,p)
uses a comet body of length p*length(y)
. The default value for p
is 0.1.
comet
, with no arguments, provides a demonstration of the comet plot.
t = 0:.01:2*pi;
x = cos(2*t).*(cos(t).^2);
y = sin(2*t).*(sin(t).^2);
comet(x,y)
comet3
,quakedemo
(c) Copyright 1994 by The MathWorks, Inc.