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.

Re: Reducing z axis range causes vectors to draw outside of cube.

  • To: John Osborne <oz@xxxxxxxxxxxxx>
  • Subject: Re: Reducing z axis range causes vectors to draw outside of cube.
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Tue, 4 Mar 2003 14:23:56 -0600 (CST)
John,

> I looked at the API for FlatField and Set looking for a method that
> would allow you to set data, new limits and new numbers of points on an
> axes but couldn't find anything. Is there any such capability like this
> so I don't have to create so many new Objects?

In order to ensure Thread-safeness, Data objects are immutable
except for changing range values in Fields, via the setSample()
and setSamples() methods of Field. In particular, you cannot
change the number samples in a Field. For that, you have to
replace it with a new Field and pass that to the setData()
method of a DataReference.

Good luck,
Bill


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