Hi Amit, fo = fopen('fname','r+') fo.write("%d %d",j,counter)
Is giving the following error: File "ZA.py", line 30, in <module> fo = open('fname','r+') IOError: [Errno 2] No such file or directory: 'fname' Where is the mistake? Cheers, Sayan On 27 March 2013 12:20, Amit Saha <amitsaha...@gmail.com> wrote: > On Wed, Mar 27, 2013 at 4:49 PM, Sayan Chatterjee > <sayanchatter...@gmail.com> wrote: > > Yes, ffmpeg will do if multiple plots can be generated using mathplotlib > . > > I'll look up the links you provided and get back to you, if I can't > figure > > it out. :) > > Sure, good luck! :) > > > > > > > > > > > On 27 March 2013 12:12, Amit Saha <amitsaha...@gmail.com> wrote: > >> > >> On Wed, Mar 27, 2013 at 4:36 PM, Sayan Chatterjee > >> <sayanchatter...@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/ > > > > > > > > > > -- > > > > > > > -------------------------------------------------------------------------- > > Sayan Chatterjee > > Dept. of Physics and Meteorology > > IIT Kharagpur > > Lal Bahadur Shastry Hall of Residence > > Room AB 205 > > Mob: +91 9874513565 > > blog: www.blissprofound.blogspot.com > > > > Volunteer , Padakshep > > www.padakshep.org > > > > -- > http://amitsaha.github.com/ > -- -------------------------------------------------------------------------- *Sayan Chatterjee* Dept. of Physics and Meteorology IIT Kharagpur Lal Bahadur Shastry Hall of Residence Room AB 205 Mob: +91 9874513565 blog: www.blissprofound.blogspot.com Volunteer , Padakshep www.padakshep.org
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor