MATLAB Functions Help Desk

comet3

Purpose

Three-dimensional comet plot

Syntax

Description

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, with no arguments, demonstrates the three-dimensional comet plot.

comet3(z) displays a three-dimensional comet plot of the vector z.

comet3(x,y,z) displays a comet plot of the curve through the points [x(i),y(i),z(i)].

comet3(x,y,z,p) specifies a comet body of length p*length(y).

Examples

Create a three-dimensional comet plot:

See Also

comet



[ Previous | Help Desk | Next ]