[Matplotlib-users] Way to see data value in imaging an array?

2010-08-01 Thread David Goldsmith
Hi! Is there a way to see data values when imaging an array, say, e.g., when holding the cursor over a point? DG -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Benjamin Root
On Sun, Aug 1, 2010 at 4:10 PM, Benjamin Root wrote: > On Sun, Aug 1, 2010 at 3:48 PM, Tom Arens wrote: > >> Hello, >> >> I thought that it has to be like Ben wrote: >> >> -def contour(self, X, Y, Z, levels=10, **kwargs): >> +def contour(self, X, Y, Z, *args, **kwargs): >> >> >> Your sug

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Benjamin Root
On Sun, Aug 1, 2010 at 3:48 PM, Tom Arens wrote: > Hello, > > I thought that it has to be like Ben wrote: > > -def contour(self, X, Y, Z, levels=10, **kwargs): > +def contour(self, X, Y, Z, *args, **kwargs): > > > Your suggestion Eric ( contour(X, Y, Z, [0] ) doesn't work as the levels >

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Tom Arens
Hello, I thought that it has to be like Ben wrote: -def contour(self, X, Y, Z, levels=10, **kwargs): +def contour(self, X, Y, Z, *args, **kwargs): Your suggestion Eric ( contour(X, Y, Z, [0] ) doesn't work as the levels are still the same. Can you translate this thread for a "normal" u

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Eric Firing
On 08/01/2010 07:35 AM, Benjamin Root wrote: > On Sun, Aug 1, 2010 at 9:55 AM, Tom Arens > wrote: > > Hello everyone, > > does anybody know why the contour3D function has a fixed set of levels? > > contour3D(X, Y, Z, levels=10, **kwargs) > > I want to plot onl

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Benjamin Root
On Sun, Aug 1, 2010 at 9:55 AM, Tom Arens wrote: > Hello everyone, > > does anybody know why the contour3D function has a fixed set of levels? > > contour3D(X, Y, Z, levels=10, **kwargs) > > I want to plot only one line for one level. With "contourf" it works: > > > > from mpl_toolkits.mplot3d im

Re: [Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Eric Firing
On 08/01/2010 04:55 AM, Tom Arens wrote: > Hello everyone, > > does anybody know why the contour3D function has a fixed set of levels? > > contour3D(X, Y, Z, levels=10, **kwargs) > > I want to plot only one line for one level. With "contourf" it works: > > > > from mpl_toolkits.mplot3d import axes3

[Matplotlib-users] contour3D custom levels possible?

2010-08-01 Thread Tom Arens
Hello everyone, does anybody know why the contour3D function has a fixed set of levels? contour3D(X, Y, Z, levels=10, **kwargs) I want to plot only one line for one level. With "contourf" it works: from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt fig = plt.figure() ax