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.

How get range info from certain objects?

I want to use the setRange method of ScalarMap to reverse the polarity 
of an axis, but first I need to know the max and min values of that 
axis before I can reverse them. I have a GriddedSet being passed 
into my procedure, which I assign to a DataReference, etc. If I then 
do a System.out.println on the DataReference, I get a list "DomainDimension 
1..."etc.
that has the information I need, but I couldn't find what method 
to call to extract the specific range in the form to use it in code,
i.e. to alter and pass on to setRange.








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