Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Reversing scale on an axis

Charles-

Charles Packer wrote:
> 
> 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 should use the setRange method of ScaleMap to reverse the
scales, so instead of having (-90, 90), you could have (90, -90).

At present there is no way to put the AxisScales on the "top"
of the 3D plot, although I'll keep that in mind for a
future enhancement.  (Don't hold your breath on getting that
any time soon though. ;-))

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
*************************************************************


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