File Exchange

image thumbnail

MultiCometFade

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

2 Downloads

Updated 05 Jul 2018

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

Comments and Ratings (3)

Nshine

@ angie arrieta - What are your inputs? Do they comply with the documentation in the files?

no puedo correrlo, que hago?

Ray

Great! Fantastic work!

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor