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

Re: Range Dilemma

Hi Kevin,

> I appear to have a display range dilemma.  I know I can cut off the
> range of a ScalarMap by doing the following:
> . . .
> Using this technique, I'm sure I can fill in the remaining corner of the
> display outline ( upper right corner of this image:
> http://www.cimms.ou.edu/~kmanross/VCPRPE/Irreg2DSet.gif ).
>
> However, if I use this technique, I am unable to display the labels in
> the right panel of this image:
> http://www.cimms.ou.edu/~kmanross/VCPRPE/VCPRPE_AllBeams.gif
>
> Is there a way that I can fill in the upper right corner (inside the
> border) of the first image while keeping the labels outside the display
> border like the 2nd image?

I'm not sure what you mean by 'fill in the upper right corner',
but any Data with your RealTypes 'h' and 's' that you have
mapped to SelectRange will be subject to your range limits.
The only way around this is to construct your label Data using
different RealTypes (perhaps 'h1' and 's1') mapped to XAxis and
YAxis but not mapped to SelectRange. Your 'h1' and 's1' would
have the same calls to ScalarMap.setRange() as your 'h' and 's'.

Good luck,
Bill


 
 
  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