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

2011-02-08 Thread Benjamin Root
On Tue, Feb 8, 2011 at 8:27 AM, Massimo Di Stefano wrote: > Hi Benjamin, > > have you reied the mat file ? > > i treid using a simple python array in a 2d plot and i'm having the same > behavioure > the x,y coordinates are displayed ok when the mouse roll over the graph > but they are wrong in

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

2011-02-08 Thread Massimo Di Stefano
Hi Benjamin, have you reied the mat file ? i treid using a simple python array in a 2d plot and i'm having the same behavioure the x,y coordinates are displayed ok when the mouse roll over the graph but they are wrong in the axis labels. Il giorno 05/feb/2011, alle ore 09.23, Massimo Di St

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

2011-02-05 Thread Benjamin Root
On Fri, Feb 4, 2011 at 6:41 PM, Benjamin Root wrote: > 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

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] 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)