Re: Label the axes of a 3-D graph

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



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