RE: Displaying RGB Map

Thanks for both suggestions. Doug, I manage to show the range of colors,
but the values specifying the range do not show.

Bill, I tried to run the MultiLUT program you suggested, but I get the
following error. I'm not sure what is happening. It seems as though has a main function. Can this not be run as a standalone

Secondly, the source says I need to run it in the directory that
contains SPB1.PIC... SPB17.PIC, but I can't seem to find these. Are they
available anywhere?

C:\visad\visad\bio>java -classpath .;c:\visad MultiLUT
Exception in thread "main" java.lang.NoClassDefFoundError: MultiLUT
(wrong name:
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at Source)
        at Source)
        at$100(Unknown Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Thanks for all the help guys,

-----Original Message-----
From: Bill Hibbard [mailto:billh@xxxxxxxxxxxxx] 
Sent: Wednesday, March 13, 2002 6:13 AM
To: David Nguyen
Subject: Re: Displaying RGB Map

Hi David,

> Is there something that simply displays the color mapping of a 
> ScalarMap to Display.RGB. The tutorial has examples of the 
> LabeledColorWidget, but that seems to be slightly more than necessary.

> I do not need the ability to edit the color map like the 
> LabeledColorWidget allows.

You can create a FlatField with a "wedge" of values and
link it to your Display, prefereably at some location
where it is out of the way. There is an example of this
in visad/bio/ - see 'FlatField wedge'.

Good luck, Bill