On Tue, Jan 27, 2009 at 2:15 AM, Nils Wagner <nwag...@iam.uni-stuttgart.de> wrote: > Hi all, > > Is it possible to restrict the mouse movements to the points of a graph > (curve tracking) ?
No, but you can obtain the vertices of the line that are within a tolerance of the clicked point using the picking functions. See the tutorial at http://matplotlib.sourceforge.net/users/event_handling.html and the "pick*" demos at http://matplotlib.sourceforge.net/examples/event_handling/index.html JDH ------------------------------------------------------------------------------ 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