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 ?

In fact, I use mpl in a traits app,
which looks like this:
http://fredantispam.free.fr/mpl.png

In my traits app, no point coords under pointer are displayed.

Am I missing something obvious ?

snippet code:
        da = self.display.axes
        self.img = da.imshow(self.current_data.array,
                             vmin=self.vmin, vmax=self.vmax,
                             cmap=self.cmap,
                             interpolation=self.interpolate_colormap_method,
                             extent=extent,
                             origin=self.origin,
                             alpha=self.opacity)
        self.display.figure.canvas.draw()

TIA.

Cheers,

-- 
http://scipy.org/FredericPetit


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to