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 Karan, > I am working on ascii characters. I want to display > the ascii chars on the display as a label. For Ex. say > for the ascii code of heart is 3. I want to display > these symbols(heart, spade, diamond, etc) on the > display at some points as we do labelling. Is it > possible using VisAD? Please suggest about the same. You might be able to do it putting your ASCII Strings into visad.Text objects and making a ScalarMap of their TextType to Display.Text, then setting a Font in the TextControl. There is an example in visad/examples/Test69.java. If that doesn't work, you can create your own shapes and display them using a ScalarMap to Display.Shape. Good luck, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: