Re: reAutoScale

Hi Doug,

> > > If I have a DataReference with a FlatField in it and I then
> > > call setData() with a new FlatField, does the autoscaling logic kick
> > > in (if it is enabled)?
> >
> > Calling setData() doesn't invoke auto-scaling unless you
> > call display.reAutoScale() first.
> 
> I am using this approach and auto-scaling DOES work and I did NOT call
> reAutoScale() (not directly, anyway).

Could you please send me a (small) code example.

Note that in visad/examples/Test00.java user manipulation
of the Real or RealTuple results in a setData() call, and
these do not cause the display to auto-scale. So it works
the way I think it should in Test00.java, and I'd like to
see an example where it doesn't.

Thanks,
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


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