Re: setting the ranges of a function

  • To: Mathias Stümpert <atzes@xxxxxx>
  • Subject: Re: setting the ranges of a function
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Fri, 12 Apr 2002 17:20:54 -0500 (CDT)
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.


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: