Re: ScalarMap setRange(int, int) - Limiting display

> When I use the setRange method to scale the axis, my
> actual display go over the axis which I redefined 
> with the setRange function.
> 
> Is there a way to limit the new display to be only
> within the range?

Try adding ScalarMaps to Display.SelectRange for the
RealTypes that have ScalarMaps to XAxis, YAxis and
ZAxis, and calling setRange() of the associated
RangeControls with the same values you pass to your
ScalarMap.setRange() calls.

Cheers,
Bill


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