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.
In Python: from subs import * m = makeMaps('x','x','y','y') d = makeDisplay2D(m) d.drawString('my string', [0, 0], up=[-.1, 0., 0.], base=[0., .1, 0.] ) d.showDisplay()This illustrates the use of the 'up' and 'base' parameters that is applicable to the PlotText.render_label() as well. The beauty of Python & VisAD is that it allows you to prototype very quickly.
Hope that helps. tom Romaric BENECH wrote:
Is it possible to write a vertical text (a text with 90° rotation) in 2D Display with Visad in java ?Is there example somewhere with how to write a text and make it vertical ?Thanks your help. Romaric------------------------------------------------------------------------ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail <http://fr.mail.yahoo.com>
-- 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: