From: John H. <jd...@gm...> - 2009-01-27 13:38:01
|
On Tue, Jan 27, 2009 at 2:15 AM, Nils Wagner <nw...@ia...> 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 |