Re: [Matplotlib-users] adjust axis to display array values

2011-02-04 Thread Benjamin Root
On Friday, February 4, 2011, Massimo Di Stefano wrote: > Hello All, > > > i'm plotting a 3d colored surface using a 4D array that comes from a .mat file > using this code : > > > import scipy.io as sio > import pylab as p > import mpl_toolkits.mplot3d.axes3d as p3 > > def loadmatfile(matfile): >

[Matplotlib-users] Problem with events and window resizing

2011-02-04 Thread Jorge Scandaliaris
Hi, I have some code that's been working for a long time, but it's behaving strange with current (svn) matplotlib. It's too large to post here, so I will try to come up with a minimal version reproducing the problem. Meanwhile, I wanted to ask if anyone would have a clue of what could be going on.

[Matplotlib-users] adjust axis to display array values

2011-02-04 Thread Massimo Di Stefano
Hello All, i'm plotting a 3d colored surface using a 4D array that comes from a .mat file using this code : import scipy.io as sio import pylab as p import mpl_toolkits.mplot3d.axes3d as p3 def loadmatfile(matfile): matdata = sio.loadmat(matfile) return matdata def plot3dcolor(matfile)

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Christoph Gohlke
On 2/4/2011 3:29 PM, Eric Firing wrote: On 02/04/2011 12:33 PM, Christoph Gohlke wrote: On 2/4/2011 2:14 PM, Eric Firing wrote: On 02/04/2011 11:33 AM, Eric Firing wrote: On 02/04/2011 10:28 AM, Christoph Gohlke wrote: On 2/4/2011 11:54 AM, Eric Firing wrote: On 02/03/2011 05:35 PM, Ch

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Eric Firing
On 02/04/2011 12:33 PM, Christoph Gohlke wrote: > > > On 2/4/2011 2:14 PM, Eric Firing wrote: >> On 02/04/2011 11:33 AM, Eric Firing wrote: >>> On 02/04/2011 10:28 AM, Christoph Gohlke wrote: On 2/4/2011 11:54 AM, Eric Firing wrote: > On 02/03/2011 05:35 PM, Christoph Gohlke wrot

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Christoph Gohlke
On 2/4/2011 2:14 PM, Eric Firing wrote: > On 02/04/2011 11:33 AM, Eric Firing wrote: >> On 02/04/2011 10:28 AM, Christoph Gohlke wrote: >>> >>> >>> On 2/4/2011 11:54 AM, Eric Firing wrote: On 02/03/2011 05:35 PM, Christoph Gohlke wrote: > > > On 2/3/2011 6:50 PM, Eric Firing wrot

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Eric Firing
On 02/04/2011 11:33 AM, Eric Firing wrote: > On 02/04/2011 10:28 AM, Christoph Gohlke wrote: >> >> >> On 2/4/2011 11:54 AM, Eric Firing wrote: >>> On 02/03/2011 05:35 PM, Christoph Gohlke wrote: On 2/3/2011 6:50 PM, Eric Firing wrote: > On 02/03/2011 03:04 PM, Benjamin Root wrote

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Eric Firing
On 02/04/2011 10:28 AM, Christoph Gohlke wrote: > > > On 2/4/2011 11:54 AM, Eric Firing wrote: >> On 02/03/2011 05:35 PM, Christoph Gohlke wrote: >>> >>> >>> On 2/3/2011 6:50 PM, Eric Firing wrote: On 02/03/2011 03:04 PM, Benjamin Root wrote: > Also, not to sound too annoying, but has

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Christoph Gohlke
On 2/4/2011 11:54 AM, Eric Firing wrote: > On 02/03/2011 05:35 PM, Christoph Gohlke wrote: >> >> >> On 2/3/2011 6:50 PM, Eric Firing wrote: >>> On 02/03/2011 03:04 PM, Benjamin Root wrote: >>> Also, not to sound too annoying, but has anyone considered the idea of using compressed arrays

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Eric Firing
On 02/03/2011 05:35 PM, Christoph Gohlke wrote: > > > On 2/3/2011 6:50 PM, Eric Firing wrote: >> On 02/03/2011 03:04 PM, Benjamin Root wrote: >> >>> Also, not to sound too annoying, but has anyone considered the idea of >>> using compressed arrays for holding those rgba values? >> >> I don't see ho

Re: [Matplotlib-users] hide labels

2011-02-04 Thread Francesco Montesano
Dear all again, I've tried to play with it again, but I couldn't find a solution for the problem. For clarity I report an example of what each of the subplots looks like: > import numpy as np > import matplotlib.pyplot as plt > mean = np.array([-0.9206394,  -0.90127456, -0.91983625, -0.97765539,

Re: [Matplotlib-users] Trouble with imshow

2011-02-04 Thread Pauli Virtanen
Thu, 03 Feb 2011 16:37:31 -0800, Christoph Gohlke wrote: [clip] > My understanding is that if there is a circular reference then the > refcount will not be zero anyway. In this case _AxesImageBase instances > and their image caches will never be deleted by the gc (__del__ method > present or not) u