Re: [Matplotlib-users] displaying multiple images in series

2010-06-21 Thread Matthias Michler
Hi Daniel, show should be called only once in a script (see also: http://matplotlib.sourceforge.net/faq/howto_faq.html?highlight=show#use-show) and it starts the mainloop, in which the user may interact with the plot using for instance button or key press events like in my second example.

[Matplotlib-users] building on MAC snow leopard

2010-06-21 Thread mdekauwe
Hi, So I have successfully built a 64bit version of Numpy, Scipy from svn and am using python version 2.6.5. However in trying to follow the instructions on this blog (http://blog.hyperjeff.net/?p=160), namely... changing the make.osx file to MACOSX_DEPLOYMENT_TARGET=10.6 PREFIX=/usr/local

Re: [Matplotlib-users] building on MAC snow leopard

2010-06-21 Thread Ian Stokes-Rees
On 6/21/10 7:41 AM, mdekauwe wrote: So I have successfully built a 64bit version of Numpy, Scipy from svn and am using python version 2.6.5. However in trying to follow the instructions o Do you have some notes on how you achieved this? It is more than I've been able to do. I had a look at

Re: [Matplotlib-users] building on MAC snow leopard

2010-06-21 Thread mdekauwe
Do you have some notes on how you achieved this? It is more than I've been able to do. Yes I firstly setup a brand new python, i.e. not the one that ships with snow leopard (ver2.6.5). Then followed everything on http://blog.hyperjeff.net/?p=160 I'm not a build or gcc expert, but am

[Matplotlib-users] problem with RectangleSelector

2010-06-21 Thread Matthias Michler
Hello list, I'm encountering a strange problem with the RectangleSelector using the latest version of svn. Namely it doesn't work if it wasn't initialized as RS = RectangleSelector(...) but using RectangleSelector(...) in my script. I modified the example rectangle_selector.py from the folder

Re: [Matplotlib-users] Installation for MAC OS 10.5

2010-06-21 Thread R. Padraic Springuel
Which 2.6? Any would be better than none, but I have 2.6.5 (the most recent) from python.org. think that needs the 2.6 from Python.org -- I'd try that if it's not what you're using already -- if you are, then what errors, etc do you get? That's not the problem, as that's the version of

Re: [Matplotlib-users] problem with RectangleSelector

2010-06-21 Thread Eric Firing
On 06/21/2010 06:10 AM, Matthias Michler wrote: Hello list, I'm encountering a strange problem with the RectangleSelector using the latest version of svn. Namely it doesn't work if it wasn't initialized as RS = RectangleSelector(...) but using RectangleSelector(...) in my script. I

Re: [Matplotlib-users] building on MAC snow leopard

2010-06-21 Thread mdekauwe
This doesn't solve the original problem and I know I worked out a way to do it before my hard disk messed up! But it seems you can get a version going through macports... sudo port install py26-matplotlib sudo port install python_select sudo python_select python26 then edit your

[Matplotlib-users] Unequal size gangplots

2010-06-21 Thread Jeremy Conlin
I have followed this excellent example: http://matplotlib.sourceforge.net/examples/pylab_examples/ganged_plots.html but I would like my plots to be 2/3 and 1/3 of the total height of the figure (I only have 2 plots). What do I have to do to specify the relative sizes of the figures? Thanks,

Re: [Matplotlib-users] Unequal size gangplots

2010-06-21 Thread Malte Dik
Jeremy Conlin jlcon...@gmail.com I have followed this excellent example: http://matplotlib.sourceforge.net/examples/pylab_examples/ganged_plots.html but I would like my plots to be 2/3 and 1/3 of the total height of the figure (I only have 2 plots). What do I have to do to specify the

Re: [Matplotlib-users] Unequal size gangplots

2010-06-21 Thread Jeffrey Blackburne
I have used add_axes() to do this in the past. E.g., import matplotlib.pyplot as plt fig = plt.figure() leftmarg = 0.125 # change these numbers to taste botmmarg = 0.125 width = 0.825 height = 0.825 frac = 2./3. ax0 = fig.add_axes([leftmarg, botmmarg, width, frac*height]) ax1 =

Re: [Matplotlib-users] Unequal size gangplots

2010-06-21 Thread Jeremy Conlin
On Mon, Jun 21, 2010 at 2:33 PM, Jeffrey Blackburne je...@mit.edu wrote: I have used add_axes() to do this in the past. E.g., import matplotlib.pyplot as plt fig = plt.figure() leftmarg = 0.125   # change these numbers to taste botmmarg = 0.125 width = 0.825 height = 0.825 frac = 2./3.

Re: [Matplotlib-users] Unequal size gangplots

2010-06-21 Thread Alan G Isaac
You should be able to use http://leejjoon.github.com/mpl_toolkits-gridspec/ for unequal-size plots of the type you describe. Alan Isaac -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day