image thumbnail

MultiCometFade

version 1.0.0.0 (1.49 KB) by Nshine
Similar to comet function but able to plot multiple comets which have a fading tail.

68 Downloads

Updated 05 Jul 2018

From GitHub

View license on GitHub

MultiCometFade:
1. Similar to comet function but includes functionality to plot multiple comets which have a fading tail.
2. Also includes video capture.
3. Arguments:
a) ax: axes handle on which to plot trajectories
b) steps: number of steps in the trajectory vector to plot at once.
c) numseg: number of segments that tail is divided up in
d) varargin: Trajectory data.
(i) Each 'argin' is made up of 2 rows. The top row is the 'x'
data (could be time), the bottom row is the 'y' data.
(ii) NOTE: The trajectories must be of the same length
(iii) NOTE: For more than 8 trajecties, add rows into color matrix

Cite As

Nshine (2021). MultiCometFade (https://github.com/nolshina/Matlab), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.