Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: translation howto?

Brandon Kohn wrote:
> 
> Thanks Bill.. I did just that and got some satisfactory results.  A question
> on direct manipulation.  I noticed that when a user performs direct
> manipulation on values that places the new value outside the plot box
> (indeed outside the entire graph&axes) the values are still plotted.  I'm
> assuming this is a bug?  Or is this something that a simple flag I have not
> set somewhere might address?

This is not a bug. Once applications calls to setRange()
and the auto-scaling logic has determined ranges for all
scaled ScalarMaps, auto-scaling ceases. New data can be
plotted outside the box. Most application designers do
not want the mapping ranges to be constantly changing.

If you want auto-scaling to always be applied, call

  DisplayImpl display = ...
  display.setAlwaysAutoScale(true);

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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690