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.

p.s., Re: "drawing" grid lines on a surface

  • To: Donna L Gresh <gresh@xxxxxxxxxx>
  • Subject: p.s., Re: "drawing" grid lines on a surface
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Tue, 11 Feb 2003 14:15:18 -0600 (CST)
On Tue, 11 Feb 2003, Bill Hibbard wrote:

> . . .
> If this causes a problem, you could replicate the Field
> with a different MathType ((x2, y2) -> z), and use
> ScalarMaps x -> IsoContour and y2 -> IsoContour.
> . . .

One easy way to do this is with the changeMathType()
method of Data (and inherited by Field). You also do
it with virtually no extra memory use by constructing
a second Field with the second MathType and the same
domain Set, and calling setSamples() for both Fields
with the same float[][] array and copy = false.


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