Re: [Matplotlib-users] Display Pixel intensity

2010-02-23 Thread Jae-Joon Lee
See http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg13203.html http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg13204.html -JJ On Tue, Feb 23, 2010 at 9:22 AM, Sebastian Rhode wrote: > Hi, > > has anyone a good idea how to interactively display the x

[Matplotlib-users] Display Pixel intensity

2010-02-23 Thread Sebastian Rhode
Hi, has anyone a good idea how to interactively display the xy coordintes (as whole numbers) and the pixel intensity using the mouse cursor. Here is the code snippet: ... fig = plt.figure() ax1 = fig.add_subplot(111) channel_select = 1 p = imread(filename) # normally I use TIFF file if (p.ndim >