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: Marking points on Axis

Rakesh-

Rakesh Rathod wrote:
Hi eveyone,
I want to mark some points on axis with some text.Can anyone give me some idea how should i do it?

You can use the AxisScale.setLabelTable() method to mark specific
values on the axis with appropriate text.  The labelTable is
a Hashtable with a Double of the axis value as a key and the
text as the value.

See visad/examples/ScaleTest.java for an example.

Don
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************



  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: