Re: adding a single point that stands out to a surface plot

  • To: Mike Charters <mcharter@xxxxxxxxx>
  • Subject: Re: adding a single point that stands out to a surface plot
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Thu, 1 Aug 2002 16:57:52 -0500 (CDT)
Mike,

> i guess now i am having a hard time figuring out where the actual x,y,z
> values go for the point i want to add.
>
> do i use a FlatField(FunctionType) to create a flatfield and put the
> samples in there by setSamples(float[3][1], false) where
>
>  float[3][1] = { {x}, {y}, {z} }
>
> ?
>
> then i set the data of the datareference to that flatfield?

No. Construct a RealTuple with the x, y, z values. There's an
exmaple in the visad/examples/Test00.java program, and lots
of other examples.

Good luck,
Bill


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