Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: