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: circular domain and color scale for Visad 3D display

Hi, Bill,

Can the color scale be visualized as a color scale bar in a similar
way as that in
Matlab? 

Thanks a lot,

Best,

Charlie


> > The 2nd problem: Can we use the SAME color scale for several Visad 3D
> > displays? (It seems Visad always uses red for the highest altitude and
> > blue for the lowest altitude for the current display, so any display's
> > color ranges from red to blue.)
> 
> Yeah, you can explicitly set the color scale by calling
> setRange() on the ScalarMaps to RGB. To make displays
> have the same color scale, pass the same range to setRange()
> for the ScalarMaps to RGB in each display.

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