On Tue, Jul 14, 2009 at 12:48 PM, Northenlight<jiandong...@gmail.com> wrote:
>
> Hi,
>
> Is there a way to interactive with the plot? For example, draw a vertical
> marker on the plot, let user move the marker and shows x, y values of the
> point where the curve intersect with the marker?


See these examples and tutorial:

http://matplotlib.sourceforge.net/users/event_handling.html
http://matplotlib.sourceforge.net/examples/event_handling/index.html

In particular, the
http://matplotlib.sourceforge.net/examples/event_handling/path_editor.html
example shows how to click and drag points

JDH

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to