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.
Hi John, > how do you find the range of values taken on by an arbitrary Scalar? It > seems that ScalarMap needs to do this, but I can't find exactly how... Its done a by a call to Data.computeRanges() from DataRenderer.prepareAction(). As long as you don't call ScalarMap.setRange(), you can access the range by a call to ScalarMap.getRange(), after data have been transformed for display. You can use a DisplayListener to wait for a DisplayEvent.TRANSFORM_DONE. Cheers, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: