Products & Services Industries Academia Support User Community Company

Learn more about Mapping Toolbox   

cometm - Project 2-D comet plot on map axes

Syntax

cometm(lat,lon)
cometm(lat,lon,p)

Description

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.

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.

Examples

Create a comet plot of the coastlines data:

load coast
axesm miller
framem
cometm(lat,long,0.01)

See Also

comet, comet3m

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS