Re: [Matplotlib-users] matplotlib setup.py failing

2006-07-02 Thread Fernando Perez
On 6/30/06, Belkind, Ronnen <[EMAIL PROTECTED]> wrote: > > > > I downlaoded matplotlib-0.87.3.tar.gz from sourceforge and am attempting to > compile/install it on a RedHat linux installation source. When I run setup > I get the following error. > > $: python setup.py build > Traceback (most recent

Re: [Matplotlib-users] matlab-like "children" of axes?

2006-07-02 Thread PGM
Jules, > > ff = P.Figure(figsize=(5,4), dpi=100) > ss = P.subplot(222) > pp = ss.plot(x,y,'.-') > > # some program resets x,y limits > P.show() > #- > Is there any way to > - find the axes objects that count "ff" as their parent? The `figure` associated with a subplot object `ss` is `ss.figur

[Matplotlib-users] matlab-like "children" of axes?

2006-07-02 Thread jules hummon
Hello all My specific question is this: Suppose I have a figure, with an axes object, and an XY plot: #--- import matplotlib import pylab as P t = P.arange(0.0,1.0,0.02) x = P.sin(2*P.pi*t) y = P.exp(-t*3.)*P.cos(3*P.pi*t) ff = P.Figure(figsize=(5,4), dpi=100) ss = P.subplot(222) pp = ss.p

[Matplotlib-users] ion, draw and show?

2006-07-02 Thread Zhang Le
Hi, I have some confusion about ion/ioff, draw() and show(). After drawing a figure I need to make it show up on the screen without calling show() and entering the main loop. Here's the code that works: ion() l = plot(arange(10),2.*arange(10)) draw() raw_input('pause') However, if I remove ion(

[Matplotlib-users] matplotlib setup.py failing

2006-07-02 Thread Belkind, Ronnen
  I downlaoded matplotlib-0.87.3.tar.gz from sourceforge and am attempting to compile/install it on a RedHat linux installation source.  When I run setup I get the following error.   $: python setup.py buildTraceback (most recent call last):  File "setup.py", line 63, in ?    from setupext