Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

comet3m

Project 3-D comet plot on map axes

comet3m will be removed in a future release. Use the following instead:

[x,y,z] = mfwdtran(lat,lon,z);
comet3(x,y,z,p) 

Syntax

comet3m(lat,lon,z)
comet3m(lat,lon,z,p)

Description

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

comet3m(lat,lon,z,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 3-D comet plot of the coastlines data:

load coastlines
z = (1:length(coastlat))'/3000;
axesm miller
framem; gridm;
setm(gca,'galtitude',max(z)+.5)
view(3)
comet3m(coastlat,coastlon,z,0.01)

See Also

|

Introduced before R2006a

Was this topic helpful?