Re: resetting ranges of a plot space

Brandon,

You may be able to do this with calls to setRange() on your
spatial ScalarMaps. If you want to hide information outside
the display box, you can use clipping. Or ScalarMaps to
SelectRange.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


On Wed, 17 Apr 2002, Brandon Kohn wrote:

> Hello,
>
> I'm trying to write a zoom function for a 2D display that will allow the user 
> to define a rectangle inside the plot area and then redraw to this scale.  
> The problem is that the points are drawn outside the plot box after 
> rescaling.  I know that SelectRangeWidgets perform this bounding 
> functionality, but I'm having trouble figuring out how it actually sets the 
> new bounds, and I'd rather not have a hidden widget sitting in my jframe.  
> Any help?
>
> Thanks
> Brandon Kohn
> +377 97 97 41 51 ext. 306 (Work)
> +377 97 77 86 71 (Home)
> blk@xxxxxxxxxxxxxxxxxx
> The Maia Institute, Monaco
>


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