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
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
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
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
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
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
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
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
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
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::
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
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
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
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
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
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)
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,
17 matches
Mail list logo