|MATLAB Function Reference|
Two-dimensional comet plot
A comet graph 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.
displays a comet graph of the vector
displays a comet graph of vector
y versus vector
specifies a comet body of length
p defaults to
plots into the axes with handle
axes_handle instead of the current axes (
Note that the trace left by
comet is created by using an
none, which means you cannot print the graph (you get only the comet head) and it disappears if you cause a redraw (e.g., by resizing the window).
Create a simple comet graph:
Direction and Velocity Plots for related functions
© 1994-2005 The MathWorks, Inc.