Plotting points on a comet plot
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I am looking to plot the points that the head of the comet traverses through in the comet plot so that I can get a sense for the density of the points on the comet plot. Can someone please suggest how I can modify comet3 to realize it.
Thanks
0 commentaires
Réponses (2)
Sean de Wolski
le 12 Sep 2012
Modifié(e) : Sean de Wolski
le 12 Sep 2012
comet works by setting the line's 'EraseMode' to 'none' so that the line draws, but does not erase even though the xdata and ydata are no longer stored.
To store the x and y data you need to make a copy of comet that does this.
0 commentaires
Voir également
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!