Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Frank: In the current release of subs.py: disp = subs.makeDisplay(maps) disp.setBackgroundColor(c) disp.setForegroundColor(c)where 'c' may be a color name (as a string), like "white" or "blue", or it may be a java.awt.Color object.
Related: disp.setCursorColor(c) disp.setBoxColor(c) tom Frank Gibbons wrote:
Tom (and others),The default for subs.makeDisplay() is to make a black background, and white foreground. Perusing the docs doesn't seem to allow any change to this. Is there another way to do this from Jython? White on black is certainly easy on the eyes when looking at a computer monitor, but difficult to work with on paper, since you can't write on the figures, and they don't incorporate well into publications. Ideally, I'd have a white background, with black foreground.Thanks, -Frank PhD, Computational Biologist,Harvard Medical School BCMP/SGM-322, 250 Longwood Ave, Boston MA 02115, USA. Tel: 617-432-3555 Fax: 617-432-3557 http://llama.med.harvard.edu/~fgibbons
-- Tom Whittaker (tomw@xxxxxxxxxxxxx) University of Wisconsin-Madison Space Science and Engineering Center Cooperative Institute for Meteorological Satellite Studies Phone/VoiceMail: 608.262.2759
visad
archives: