Re: [Matplotlib-users] matplotlib digest...

2007-08-03 Thread fred
Michael Droettboom a écrit :
 Darren Dale wrote:
   
 On Friday 03 August 2007 08:03:31 am fred wrote:
   
 
 Is there any tarball for ml archives ?
 
   
 You can search the user and developer archives here:

 http://sourceforge.net/mail/?group_id=80706
 
Yes, but with probing keyword,
results are not relevant:
Could not fire up pylab in Japanese XP

I can't believe that no one has asked before about this issue ;-)


-- 
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


[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 ?

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


Re: [Matplotlib-users] matplotlib digest...

2007-08-03 Thread John Hunter
On 8/3/07, fred [EMAIL PROTECTED] wrote:

  Is there any tarball for ml archives ?
 
 
  You can search the user and developer archives here:
 
  http://sourceforge.net/mail/?group_id=80706
 
 Yes, but with probing keyword,
 results are not relevant:
 Could not fire up pylab in Japanese XP

 I can't believe that no one has asked before about this issue ;-)

Unfortunately a lot of the mail archive search algorithms are pretty
poor.  I subscribe over gmail, which has decent search, but I do not
have the entire archives.  I have a lot of the archives, particularly
the earlier years when I was using a UNIX mail server and client, but
now that I have moved over to gmail I do not have the recent archives
in flat file or tarball.

But you can just ask us -- maybe we can help.

JDH

-
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


[Matplotlib-users] matplotlib digest...

2007-08-03 Thread fred
Hi,

Is there any tarball for ml archives ?

In fact, I'm looking for something related to values probing (with a 
pointer,
for example).

So I want, before asking, to have a look in the archives.

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


Re: [Matplotlib-users] matplotlib digest...

2007-08-03 Thread Michael Droettboom
Darren Dale wrote:
 On Friday 03 August 2007 08:03:31 am fred wrote:
   
 Is there any tarball for ml archives ?
 

 You can search the user and developer archives here:

 http://sourceforge.net/mail/?group_id=80706
   
It's also archived on gmane, which has a different interface that some 
prefer:

http://dir.gmane.org/gmane.comp.python.matplotlib.general

Or, in a bind, sometimes using Google with matplotlib-users in the 
search string can return different results.

Cheers,
Mike

-
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


Re: [Matplotlib-users] matplotlib digest...

2007-08-03 Thread Jouni K Seppänen
John Hunter [EMAIL PROTECTED] writes:

 On 8/3/07, fred [EMAIL PROTECTED] wrote:

   Is there any tarball for ml archives ?
 
 Unfortunately a lot of the mail archive search algorithms are pretty
 poor.  I subscribe over gmail, which has decent search, but I do not
 have the entire archives.  I have a lot of the archives, particularly
 the earlier years when I was using a UNIX mail server and client, but
 now that I have moved over to gmail I do not have the recent archives
 in flat file or tarball.

You can download the recent archives from gmane.org (though all email 
addresses are encrypted):

http://gmane.org/export.php

I wonder if there is any similar possibility at sourceforge?

The gmane archives only go back to 2004 or so, so it would be
nice if you (or other early developers) could upload older
archives to gmane. The instructions are at 

http://gmane.org/import.php 

but basically all you have to do is put up a unix-style mbox file
somewhere and send the URL to the gmane administrators. Importing
does have the effect that old article numbers are no longer
valid, and thus the read/unread status in newsreader programs is
reset; thus it would be a good idea to gather all old archives
first and then do just one upload, and warn readers in advance.

-- 
Jouni


-
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


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 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.mpl_connect('motion_notify_event', self.mouse_move_callback)

then in mouse_move_callback:

def mouse_move_callback(self, evt):
xpos, ypos = evt.xdata, evt.ydata
val = self.data[numpy.floor(xpos), numpy.floor(ypos)]
status_str = x: %4.2f  y: %4.2f   I:%4.2f \
  % (xpos, ypos, val)
self.SetStatusText(status_str)

where data is your image variable. This works in a wx.Frame object,
which has a SetStatusString method for displaying the values. I'm sure
you could find an equivalent in your traits app.

Hope that helps,

Gus.
-- 
AJC McMorland, PhD Student
Physiology, University of Auckland

-
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