Re: Reversing scale on an axis

Hi Charles,

> I want to have all the benefits of using the Real.Latitude and Real.
> Longitude objects associated with my plotting axes, but I need to
> have the northward direction pointing the opposite way than is the
> VisAD default. Specifically, I have a 3D plot with latitude and altitude
> in the X and Y directions. Latitude, which I assigned to the ZAxis,
> comes out of the screen, with north toward the viewer. I want north
> to go into the screen. Is it feasible to do this? If it's necessary
> to have the axes displayed at the "front" of the plot, this is okay,
> I guess.

You can do this by a call to setRange() for the appropriate
ScalarMap (say to ZAxis), with the larger then the small
limit. For example, map.setRange(+90.0, -90.0).

Good luck,

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