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.
Hi Stu, > If you have a FlatField with temperature in Kelvin units > and want to display it in Celcius or Fahrenheit > is there an easy way to do so? The contour labels should > be in the new untis, for example. And axes units. This is something the BOM asked me to do so thanks for the reminder. You can override the default Units by a new method of ScalarMap: public void setOverrideUnit(Unit unit) throws VisADException; The unit must be convertible with the default Unit of the ScalarMap's RealType, and this method should be called before any data are displayed. This will affect the ScalarMap's setRange(), getRange() getScale() and makeScale() methods. 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: