Re: mapping streamlines to scalar value

Hi Michael,

> On a Gridded2DSet I am plotting a scalar value (density) as well as
> streamlines for a 2D vector field (velocity).  Right now I have the density
> mapped to the ZAxis and my streamlines lie in the z=0 plane.  My goal is to
> have the streamlines lie on top of the density surface.  I came up with
> (( x , y ) -> ( density )) -> ( u , v )
> which clearly violates the FunctionType constructor.  Are there any easy
> ways to accomplish this?  Thanks in advance.

Instead, try the MathType:

  ((x, y) -> (u, v, density))

Note that visad/examples/ does something similar
which works fine.

Good luck,

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