Re: circular domain and color scale for Visad 3D display

Thanks so much, Bill.  It works now.


On Sun, 22 Aug 2004 04:28:44 -0500 (CDT), Bill Hibbard
<billh@xxxxxxxxxxxxx> wrote:
> Hi Charlie,
> 
> > Can the color scale be visualized as a color scale bar in a similar
> > way as that in
> > Matlab?
> 
> To do this, we sometimes create a long thin image with
> a wedge of values from the the low to the high end of
> the setRange() of RealType values mapped to RGB, and
> locate this image data object near the edge of the
> display.
> 
> Good luck,
> Bill
> 
> 
> 
> > > > 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: