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.
The simplest way is from Jython, using the drawString method in subs.py: def drawString(display, string, point, color=None, center=0, font="futural", start=[0.,0.,0.], base=[.1,0.,0.], up=[0.,.1,0.],size=None ):If you're using Java, then you might look at example Test47.java. PlotText.render_label() will return a VisADLineArray which you can use as a Shape and add it to your display.
tom Kapper Michael G Contr AFRL/PRSA wrote:
What is the simplest way to display text string on a VisAD display at any location?
-- 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: