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: