On Mar 28, 2007, at 3:41 PM, [EMAIL PROTECTED] wrote:
>
> Hi!  I have a wxmpl.PlotPanel object with a cross-hair style cursor
> (without the full screen crosshairs).  When I select a rectangle w/  
> this
> cursor it zooms in to that rectangle - great!  Now, how do I get the
> rectangle coordinates (preferably in data coords.) from the rectangle
> selection event?   Thanks!

You can subscribe to region selection events using  
wxmpl.EVT_SELECTION, which is a wxPython event.  See `demos/ 
picking_points.py' for a detailed example.

Due to a failure of imagination you can currently have region  
selections zoom or emit events.  If you need to do both it'll take  
some jiggery-pokery.  Let me know if this is the case and I'll write  
something up.

Ken

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to