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.
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: