Re: how to hide data that is not within the range that is supposed to be displayed

  • To: Mike Charters <mcharter@xxxxxxxxx>
  • Subject: Re: how to hide data that is not within the range that is supposed to be displayed
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Fri, 7 Jun 2002 15:36:39 -0500 (CDT)
Mike,

> I have a 2D plot where I only want to display one portion of the domain
> at a time (for example, 2000 points of data but I only want to show 500
> points at a time), but when I call setRange on the scalarMap the plot
> continues off the graph.
>
> What do I have to do to to hide this data?

If your FlatField has MathType (x -> y), with a ScalarMap
of x to XAxis, add another ScalarMap of x to SelectRange.
The RangeControl returned by its getControl() wil let you
set a range of values to make visible.

Bill


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