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 Mathias, > Is there an easy way to dynamically change the domain ranges for a > function? Suppose I have a function that I want to plot with (x -> y). I > would take a Linear1DSet as domain set for my FlatField. Now can I > dynamically resample my field with a new Linear1DSet with other hi/low > values, perhaps with the help of the mouse? See > http://www.stuempert.de/java/ScrollingFunction.html for an example of > what I mean. To change the domain Set, you need to replace your Field with a new Field, and pass the new Field to the setData() method of a DataReferenceImpl that links the Fields to DisplayImpls and/or CellImpls. Cheers, Bill
visad
archives: