I am interested in making an 'interactive mask.'  That is, I am  
creating a model of estuarine flow, where the grid is rectangular,  
and part of the domain will be land, not included in the simulation  
through a mask.  I would like to be able to modify this mask using a  
tool that will allow me to click cells on and off.

I can think of a few ways to do this, but I thought I would ask y'all  
first.  A rough outline of the code would be:

1.  pcolor the grid
2.  Catch clicks in the figure, and determine which cell is clicked.
3. Toggle the masking of that cell, and re-draw the figure

Has anybody done this?

Any ideas about any of the parts?  I think I can handle part 1.  I'm  
worried part 3 might be inefficient.

-Rob

----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to