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. Whene
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
##
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
> 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 int
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 e
> 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 P
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.
>
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/matp
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,
Jere
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
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 = fig.add_axes([le
On Mon, Jun 21, 2010 at 2:33 PM, Jeffrey Blackburne 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.
> ax0
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 Give
13 matches
Mail list logo