Automatically save a sequence of plots to files

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 commentaires

dpb
dpb le 13 Août 2013
doc hgsave % perhaps?
There's a section in the graphics documenation on animation w/ some examples that's probably worth reading through thoroughly...
Thank you for the hgsave tip, I figured it out.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Animation dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by