[Tutor] HELP: Creating animation from multiple plots

Amit Saha amitsaha.in at gmail.com
Wed Mar 27 07:42:49 CET 2013


On Wed, Mar 27, 2013 at 4:36 PM, Sayan Chatterjee
<sayanchatterjee at gmail.com> wrote:
> Thanks a lot for your prompt reply.
>
> 1. Yes. This is exactly what I wanted. Creating a bunch of data sets and
> then writing script to plot them using gnuplot, but if something can produce
> directly 'plots' it will certainly be helpful.

Yes, indeed it is possible. You may want to explore matplotlib a bit.
You can start with this tutorial [1].

[1] http://www.loria.fr/~rougier/teaching/matplotlib/

>
> 2. Yes. By stitching them up I meant an animation.Sorry for the ambiguity.
> Exactly how we can do it Octave.
>
> Pls see this link:
> http://www.krizka.net/2009/11/06/creating-animations-with-octave/

Right, yes, if you see it uses mencoder/ffmpeg to create the
animation. So, if you save your individual plots and then use one of
these tools, you should be able to get the animation done.

Matplotlib itself seems to have some Animated plotting capabilities,
but I haven't had any experience with them.


Best,
Amit.


-- 
http://amitsaha.github.com/


More information about the Tutor mailing list