> > How do I make a color table or ColorControl so that there
> > is a connection between a particular color and a particular data
> > value or a range of data values?
> This mapping is determined by the low and high values passed
> to ScalarMap.setRange(), and by the 'float table' array
> passed to BaseColorControl.setTable(). The table values
> (length = table.length) are distributed evenly over the
> (low, high) range.
I could achieve what I have in mind if there could be more than
one ScalarMap to Display.RGB per display, each with its own ColorControl
and a matching setRange() call,
or if the one ScalarMap could have several ColorControls, each ColorControl
with its own setRange().
Is either possible?
Unidata Program Center
P.O. Box 3000
Boulder, CO 80307
Unidata home page: http://www.unidata.ucar.edu/
Metapps and UMADA: http://www.unidata.ucar.edu/community/committees/umada/