Way to see data value in imaging an array?

Hi! Is there a way to see data values when imaging an array, say, e.g., when holding the cursor over a point?

DG

I found the data_browser.py example - how do I use it if I’m not using pylab.show, i.e., I’m using oo?

DG

···

On Sun, Aug 1, 2010 at 10:51 PM, David Goldsmith <d.l.goldsmith@…287…> wrote:

Hi! Is there a way to see data values when imaging an array, say, e.g., when holding the cursor over a point?

DG

David,

Replace
“from pylab import figure, show” with “import matplotlib.pyplot as plt”
“fig = figure()” with “fig = plt.figure()”
“show()” with “plt.show()”

I believe that is all you need to do.

Ben Root

···

On Mon, Aug 2, 2010 at 2:15 AM, David Goldsmith <d.l.goldsmith@…287…> wrote:

On Sun, Aug 1, 2010 at 10:51 PM, David Goldsmith <d.l.goldsmith@…287…> wrote:

Hi! Is there a way to see data values when imaging an array, say, e.g., when holding the cursor over a point?

DG

I found the data_browser.py example - how do I use it if I’m not using pylab.show, i.e., I’m using oo?

DG

Take a look at

http://matplotlib.sourceforge.net/examples/api/image_zcoord.html

JDH

···

On Mon, Aug 2, 2010 at 12:51 AM, David Goldsmith <d.l.goldsmith@...287...> wrote:

Hi! Is there a way to see data values when imaging an array, say, e.g.,
when holding the cursor over a point?