[Matplotlib-users] pan/zoom axes problem

2009-09-03 Thread Vicent Mas
Hi, I'm a newbie to matplotlib. I'm embedding matplotlib (0,98.5.3) in a pyqt application. I'm using the qt4 backend and its navigation toolbar. I wish to execute a certain function every time the view interval of a figure is changed interactively (i.e. using the zoom rectangle or the axes

Re: [Matplotlib-users] Fwd: best format for MS word?

2009-09-03 Thread Nicolas Bigaouette
I'm sure everybody find this really sad... If he wants control over the ploting capabilities, then why not have matplotlib and send him the script?I know when I switched to matplotlib from matlab I wanted to be able to edit directly the graph with point and click, but sometimes it is more powerful

Re: [Matplotlib-users] Filling in missing samples by interpolating.

2009-09-03 Thread João Luís Silva
Ryan Neve wrote: Hello, [...] This works, but is very slow for something that will be on the back end of a web page. Iterating in python is usually slow, so you should use numpy array methods if possible. I've made a faster version. It gives the same result for your test case, but you

Re: [Matplotlib-users] pan/zoom axes problem

2009-09-03 Thread Matthias Michler
Hi Vicent, I think the following example may help you, althogh their might be a better way: ## import matplotlib.pyplot as plt def callback(ax): prints mode of toolbar after limits changed e.g. mode : zoom rect mode : pan/zoom

Re: [Matplotlib-users] Fwd: best format for MS word?

2009-09-03 Thread Shixin Zeng
Yes, Me feel sad as well. But I don't think he wants to learn python and then matplotlib. He is not a computer professor after all. Best Regards Shixin Zeng On Thu, Sep 3, 2009 at 8:54 AM, Nicolas Bigaouettenbigaoue...@gmail.com wrote: I'm sure everybody find this really sad... If he wants

Re: [Matplotlib-users] pan/zoom axes problem

2009-09-03 Thread Vicent Mas
Hi Matthias, 2009/9/3 Matthias Michler matthiasmich...@gmx.net: Hi Vicent, I think the following example may help you, althogh their might be a better way: thanks for your answer. It really helps. I didn't know about the mode attribute of navigation toolbars. Inspecting the

Re: [Matplotlib-users] imshow and pcolor differences

2009-09-03 Thread Richard McMahon
Thanks Eric and also Ryan, interpolation='nearest' worked. Maybe if the correct person is listening, this could be highlighted in the imshow documentation since the default of interpolation=none is not doing 'nothing' IMHO. Also, I have looked

[Matplotlib-users] making quicktime animations from linux

2009-09-03 Thread Philip Austin
This isn't strictly a matplotlib question, but I'm hoping dual mac/linux users can provide some advice on converting png files to quicktime movies using mencoder on Ubuntu or Centos. So far I've found that 1) starting with http://matplotlib.sourceforge.net/examples/animation/movie_demo.html

Re: [Matplotlib-users] making quicktime animations from linux

2009-09-03 Thread Andrew Straw
I use:: ffmpeg -r 60 -i frame%05d.png -vcodec wmv2 -b 2000k out.avi And this works well to generate movies that play on Windows, Mac and Linux. As a bonus, these movies can be included in Latex/Beamer output using the movies15 package and played within the PDF via Adobe Reader on Mac and

Re: [Matplotlib-users] making quicktime animations from linux

2009-09-03 Thread Nicolas Bigaouette
I produce all my movies in Ogg container + Theora compression. I use ffmpeg2theora for that, available on all platforms:ffmpeg2theora --nosound --optimize --width 1024 --height 768 --inputfps=15 --aspect 4:3 png/mov%04d.png -o movie.ogv 2009/9/3 Andrew Straw straw...@astraw.com I use::

Re: [Matplotlib-users] making quicktime animations from linux

2009-09-03 Thread Phil Austin
Andrew Straw wrote: I use:: ffmpeg -r 60 -i frame%05d.png -vcodec wmv2 -b 2000k out.avi That's encouraging, thanks. I tried this and produced http://clouds.eos.ubc.ca/~phil/video/out.avi Just to confirm: the two OSX users down the hall get a missing components message from quicktime

Re: [Matplotlib-users] making quicktime animations from linux

2009-09-03 Thread George Nurser
I have successfully used mencoder -nosound -ovc lavc \ -lavcopts vbitrate=5000:vcodec=mjpeg \ -mf type=png:fps=30 -o moviename.avi mf://\*.png -v I don't think the resulting files are very compressed, but they play well with quicktime. Another option for the mac is of course

[Matplotlib-users] download

2009-09-03 Thread Alan G Isaac
The default download from the Matplotlib page link to http://sourceforge.net/projects/matplotlib/ which once again highlights basemap. (I think this was fixed at one point.) fwiw, Alan Isaac -- Let Crystal Reports

Re: [Matplotlib-users] download

2009-09-03 Thread John Hunter
On Thu, Sep 3, 2009 at 8:04 PM, Alan G Isaacalan.is...@gmail.com wrote: The default download from the Matplotlib page link to http://sourceforge.net/projects/matplotlib/ which once again highlights basemap.  (I think this was fixed at one point.) I'm not seeng this, nor am I seeing basemap

Re: [Matplotlib-users] download

2009-09-03 Thread william ratcliff
I saw this for windows when I was downloading .99. I just checked again in Vista--I believe it did the same thing in XP Cheers, William On Thu, Sep 3, 2009 at 9:16 PM, John Hunter jdh2...@gmail.com wrote: On Thu, Sep 3, 2009 at 8:04 PM, Alan G Isaacalan.is...@gmail.com wrote: The default

Re: [Matplotlib-users] download

2009-09-03 Thread Alan G Isaac
John Hunter wrote: I'm not seeng this, nor am I seeing basemap settings in the File Manager which would trigger this. Of course, the default download is platform specific, which may be why I am not seeing this, so please give us as much info as possible about your platform (mainly the OS)

Re: [Matplotlib-users] download

2009-09-03 Thread william ratcliff
I should mention that I tested 32 bit On Thu, Sep 3, 2009 at 11:59 PM, Alan G Isaac alan.is...@gmail.com wrote: John Hunter wrote: I'm not seeng this, nor am I seeing basemap settings in the File Manager which would trigger this. Of course, the default download is platform specific,