Mapping Toolbox    
cometm

Project two-dimensional comet plot on map axes

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.

cometm(lat,lon) traces a comet plot through the points specified by the input latitude and longitude vectors.

cometm(lat,lon,p) specifies a comet body of length p*length(lat). The input p is 0.1 by default.

Examples

Create a comet plot of the coast lines data:

See Also
comet
Comet-like trajectories (see online MATLAB Function Reference)
comet3m
Three-dimensional comet plot projected on map axes


  comet3m contour3m