Created
December 8, 2013 21:13
-
-
Save bunnylab/7863892 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//imports our data from a tab delimited or csv file | |
//put each time step on a different row | |
ball_data = importdata('insertfilepath'); | |
//keeps a constant plot for us to write an animation on | |
hold on | |
//itterate through all the time steps writing a frame for each one | |
for i=1:length(ball_data) | |
plot(ball_data(i, insertrelevantcol), ball_data(i, insertrelevantcol2) | |
//clear the current graphics | |
clf | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment