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.
Hi John:If you are using a Font (rather than the VisAD default stick characters), you will find the greek symbols in the range u0370 - u03ff if the Font you are using supports these. Just embed the unicode into your string:
JLabel label = new JLabel("The value of \u03c0 is 3.14159"); Since 03c0 is the Unicode value for pi. The complete list of greek codes is at: http://www.unicode.org/charts/PDF/U0370.pdf tom John Yao wrote:
Hi All,This is kind of a short question. I am plotting various parameters on the x and y axis and some of them should be displayed in greek fonts (i.e. alpha, sigma and etc.). Has anyone done that on VisAD?thanks, john
-- Tom Whittaker (tomw@xxxxxxxxxxxxx) University of Wisconsin-Madison Space Science and Engineering Center Phone/VoiceMail: 608/262-2759 Fax: 608/262-5974
visad
archives: