NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Schaerfke, Marco, Dr., Xzillion/DE wrote:
Dear Reader, I am looking for way to implement a rubberband zoom function for a 2D display. Unfortunately I have not found a solution. Any suggestions ?
See http://www.unidata.ucar.edu/staff/russ/visad/msg03136.htmlfor a further example of how to use a rubber band box renderer, and don't forget the calls:
xmap.setRange(samples[0][0], samples[0][1]); ymap.setRange(samples[1][0], samples[1][1]); as Bill pointed out. Ugo
Thank you for your help Regards Marco
visad
archives: