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/MultiLUT.java - see 'FlatField wedge'.

Good luck, Bill


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