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.

Re: text

Hi Michael,

> What is the simplest way to display text string on a VisAD display at any
> location?

The easiest way is to create a Tuple of the form (x, y, text)
where text is a Text object, and create ScalarMaps x - > XAxis,
y -> YZxis and text -> Text. See Test44.java, Test45.java,
Test69.java and Test70.java for examples (these tests all use
Fields for multiple text strings, instead of Tuples).

Good luck,
Bill


  • References:
    • text
      • From: Kapper Michael G Contr AFRL/PRSA
  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: