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: Scatterplots in VisAD?

Hi John,

> I'm just starting out with VisAD and have been successful creating a
> variety of 3D surface plots. Now, however, I want to make a 3D scatter
> plots and I'm having trouble getting my mind around what to do. My
> surface plots were derived from gridded data but the data behind the
> scatter plots are just tuples. TIA

The general pattern for a scatter plot is data in a FlatField
with MathType (index -> (a, b, c, ..., z)) and ScalarMaps:

  a -> XAxis
  b -> YAxis
  c -> ZAxis

where any range RealTypes (i.e., any letters a - z) can be
substituted for a, b and c in these ScalarMaps. You can add
other ScalarMaps to color components (e.g., Red, Green, Blue,
RGB) and to SelectRange. The domain of your field doesn't
have to be a 1-D 'index', but may be a 2-D image domain such
as (line, element). The key idea in a scatter diagram is that
domain RealTypes are not mapped to spatial display axes, but
that range RealTypes are.

Cheers,
Bill


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