I would like to make a movie that shows a series of
ListPlot outputs as frames for
s seconds of time each. Is there a simple way to do this?
marked as duplicate by Jens, Sjoerd C. de Vries, whuber, rcollyer, rm -rf♦ Jan 11 at 17:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
When you have 50 frames already computed with
what you can do when exporting e.g. "AVI" files is setting the
A different thing is, when you use animated "GIF" files. There you can set the
I might as well add another answer based on the variable frame rate
This takes a list of frames, e.g. the ones in halirutan's answer, and exports them as a movie in
In this function, I generalized this to a variable frame rate by allowing an optional third argument that contains a list of individual frame durations. If the list is shorter than the number of frames, it's repeated. To make certain frames in the list of the first argument appear longer, I simply replicate them a number of times depending on how much longer than the minimum duration in the list of the third argument is.
So with the example
you would simply do
to get a movie where all frames have an approximate duration of
The export format above is determined simply by the file name extension, so you could replace