Hi Vikram,
To label the axes in a display, all you have to do is:
DisplayImpl display1 = ...
GraphicsModeControl mode = display1.getGraphicsModeControl();
mode.setScaleEnable(true);
The details of the axis labels depends on what ScalarMaps
to XAxis, YAxis and ZAxis are addMap'ed to display1, and
what setRange() calls are made on these ScalarMaps (possibly
implicitly by auto-scaling).
Cheers,
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