NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

reAutoScale

Hi,

I have a simple time series plot with some field (e.g. temperature)
plotted vs. time for several surface stations. Auto scaling does the
right thing when I add data to the Display and I seem to recall it doing
the right thing when I remove DataReferences from the Display. However,
now I am using the DataRenderer.toggle method to turn off my data. Even
if I call the Display's reAutoScale method, it doesn't auto scale. 

Is this a bug? Should calling DataRenderer.toggle( false ) cause the
Display to reAutoScale? Or should a call to reAutoScale at least look at
the toggled state before using the data for auto scaling?

On a related note, I also recall that calling ScalarMap.setRange
effectively turns off the auto scaling. Is there a way to turn auto
scaling back on?

Thanks,
Doug

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*


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