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)
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.
Create a 3-D comet plot of the coastlines data:
load coast z = (1:length(lat))'/3000; axesm miller framem; gridm; setm(gca,'galtitude',max(z)+.5) view(3) comet3m(lat,long,z,0.01)