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.
Greetings,I appear to have a display range dilemma. I know I can cut off the range of a ScalarMap by doing the following:
// limit ranges of plotted lines to 400 (x) and 25 (y) yRangeMap = new ScalarMap( h, Display.SelectRange); xRangeMap = new ScalarMap( s, Display.SelectRange); RangeControl yRangeControl = (RangeControl) yRangeMap.getControl(); RangeControl xRangeControl = (RangeControl) xRangeMap.getControl(); double[] yRange = {0.0, 25.0}; yRangeControl.setRange(yRange); double[] xRange = {0.0, 400.0}; xRangeControl.setRange(xRange);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.gifIs 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?
Many thanks! -kevin. -- +------------------------------------------------------------+ Kevin L. Manross [KD5MYD] <>< (405)-366-0557 CIMMS Research Associate kevin.manross@xxxxxxxx [NSSL-WRDD/SWATN] http://www.cimms.ou.edu/~kmanross "My opinions are my own and not representative of CIMMS, NSSL, NOAA or any affiliates" +------------------------------------------------------------+
visad
archives: