Re: [Matplotlib-users] Probing scalar values...

2007-08-06 Thread Angus McMorland
On 07/08/07, fred <[EMAIL PROTECTED]> wrote: > Angus McMorland a écrit : > > > Since all sorts of data can be displayed in am mpl window (e.g. a > > plot, a contour...) you have to tell it how to access the correct > > scalar value to display. You could do this with the > > motion_notify_event. Reg

Re: [Matplotlib-users] Probing scalar values...

2007-08-06 Thread fred
Angus McMorland a écrit : > Since all sorts of data can be displayed in am mpl window (e.g. a > plot, a contour...) you have to tell it how to access the correct > scalar value to display. You could do this with the > motion_notify_event. Register it during init, something like: > > self.canvas.mp

Re: [Matplotlib-users] Probing scalar values...

2007-08-03 Thread Angus McMorland
Hi fred, On 04/08/07, fred <[EMAIL PROTECTED]> wrote: > Well, running mpl examples (say image_demo.py), > you can see the point coordinates under the pointer. > Good point ;-) > > I would like to have the scalar value under the pointer to be displayed > too. > > How could I do this ? Since all so

[Matplotlib-users] Probing scalar values...

2007-08-03 Thread fred
John Hunter a écrit : > But you can just ask us -- maybe we can help. > Ok. Well, running mpl examples (say image_demo.py), you can see the point coordinates under the pointer. Good point ;-) I would like to have the scalar value under the pointer to be displayed too. How could I do this ? I