On Tue, 27 Jan 2009 08:57:17 -0600 John Hunter <jdh2...@gmail.com> wrote: > On Tue, Jan 27, 2009 at 8:18 AM, Nils Wagner > <nwag...@iam.uni-stuttgart.de> wrote: >>> Thank you very much for your response. >>> The horizontal distance between consecutive points is >>> 5. in my application. >>> >>> Is the value of picker linked to the distance ? >>> I mean >>> How should I use picker to circumvent multiple results ? > > The scalar value of the picker is a epsilon tolerance in >points (1 > point = 1/72 inches) so you will need to set this >distance to be small > enough to only overlap one point when you click. > > If you want to only return a single point, you can write >a custom > picker function to return only the point closest to the >click point. >
Unfortunately, I am not sure how to implement a custom picker function. Any pointer would be appreciated. Thanks in advance. Nils ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users