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

2009-09-04 Thread Jouni K . Seppänen
Phil Austin writes: > http://clouds.eos.ubc.ca/~phil/video/samples/movie.ogv > size: 0.33 Mbytes (!) > note: we followed the install instructions at > http://www.theora.org/downloads/ >but Safari didn't recognize the ogv suffix, and didn't >offer to associate it with a player Yo

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

2009-09-04 Thread Phil Austin
Thanks for all the suggestions, for future reference here's a summary of my results producing various kinds of quicktime compatible videos from matplotlib. I used Ubuntu Jaunty and had the medibuntu codecs installed. The target audience is undergraduates, so straightforward is good. Executive sum

Re: [Matplotlib-users] Graphing in 3d

2009-09-04 Thread Brent Pedersen
On Fri, Sep 4, 2009 at 10:11 AM, Westly Ward wrote: > Hi. I need some help creating a 3d wireframe in matplotlib in python. Here > is my code. > > Code: > from __future__ import division > import matplotlib.pyplot as plt > from numpy import * > > fig = plt.figure() > from mpl_toolkits.mplot3d impor

[Matplotlib-users] Graphing in 3d

2009-09-04 Thread Westly Ward
Hi. I need some help creating a 3d wireframe in matplotlib in python. Here is my code. Code: from __future__ import division import matplotlib.pyplot as plt from numpy import * fig = plt.figure() from mpl_toolkits.mplot3d import Axes3D ax = Axes3D(fig) xlist = [] ylist = [] zlist = [] for x in ra

Re: [Matplotlib-users] funny bug with greek letters

2009-09-04 Thread Jae-Joon Lee
In [162]: print "$\beta$" eta$ In [163]: print r"$\beta$" $\beta$ use the raw sting for math expression. Regards, -JJ On Fri, Sep 4, 2009 at 12:06 PM, Nicolas Chopin wrote: >  Hi list, > when I do: > hist(randn(100)); xlabel('$\gamma$') > things work as expected. > However, if I try: > hist(ra

[Matplotlib-users] funny bug with greek letters

2009-09-04 Thread Nicolas Chopin
Hi list, when I do: hist(randn(100)); xlabel('$\gamma$') things work as expected. However, if I try: hist(randn(100)); xlabel('$\beta$') then either I get an error, or I get the label "eta" under the plot. Other letters seem to trigger this: tau, alpha, rho, maybe others. This problems wether tex

[Matplotlib-users] building svn on os x 10.6

2009-09-04 Thread Wolfgang Kerzendorf
Hi, I have found a bug that might or might not be related to my setup, when building matplotlib from svn: When building I get the following error: In file included from src/ft2font.h:13, from src/ft2font.cpp:1: /usr/local/include/ft2build.h:56:38: error: freetype/config/ fthea

Re: [Matplotlib-users] download

2009-09-04 Thread Fabrice Silva
Le jeudi 03 septembre 2009 à 20:16 -0500, John Hunter a écrit : > On Thu, Sep 3, 2009 at 8:04 PM, Alan G Isaac 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 on

[Matplotlib-users] slow rendering of 2K images using Animation_blit_tk.py - bis

2009-09-04 Thread Auré Gourrier
Dear all, I recently cried for help (see below) but sadly didn't get any answer... This problem is really a bottleneck for me and if I must find a solution... Can anyone PLEASE point me in the right direction ? I recently bumped into a problem while trying to display imshow images (204

[Matplotlib-users] pcolormesh - question

2009-09-04 Thread Christian Meesters
Hi, I have the following code: pylab.pcolormesh(data, multialignment='center') xlocs, xlabels = pylab.xticks(range(0, data.shape[1]+1), xlabels) pylab.setp(xlabels, 'rotation', 70) pylab.colorbar() pylab.show() where data is a 2D numpy array containing some masked values and

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

2009-09-04 Thread Andrew Straw
Phil Austin wrote: > 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

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

2009-09-04 Thread Vicent Mas
Hi Matthias , thanks a lot for your explanations. They were very useful. Vicent -- Share what you know, learn what you don't. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simpl

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

2009-09-04 Thread Matthias Michler
Hi Vicent, On Thursday 03 September 2009 18:14:37 Vicent Mas wrote: > Hi Matthias, > > 2009/9/3 Matthias Michler : > > 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 >