[visad] label table

Don Murray dmurray at unidata.ucar.edu
Wed Jan 9 13:45:58 MST 2008


Hi James-

James Fishbaugh wrote:
> I am encountering a problem with the label table that defines tick
> mark labels.  I create a 2D plot as usual, and then directly after I
> have the line:
> 
> Hashtable table = this.xMap.getAxisScale().getLabelTable();
> 
> The only thing in the table is zero (0.0 = 0).  In fact, even when I
> do a setLabelAllTicks(true) the label table still shows up as only
> zero.  Any clue what is going on here?  Do I have to wait for some
> operation to finish before getting the label table?

The label table will only get created automatically when the
scale is drawn on the screen. What values are being displayed
on your scale in the display?

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



More information about the visad mailing list