Re: setting the ranges of a function

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
> 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.