Automatically save a sequence of plots to files
Show older comments
Hi,
I developed a multibody dynamics code to simulate a collision between two automobiles in my master thesis, where the outputs are txt files with positions, velocities, accelerations... I wrote a m-file to animate my results in a sequence of plot in order to be able to see what was happening. My question is: is there a command that I can include in the for loop to save each plot of the evolution of the animation?
Best regards, Paulo
2 Comments
dpb
on 13 Aug 2013
doc hgsave % perhaps?
There's a section in the graphics documenation on animation w/ some examples that's probably worth reading through thoroughly...
Paulo Francisco
on 13 Aug 2013
Answers (0)
Categories
Find more on Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!