NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On Wed, 16 Jan 2002, EL-CHAAR RABIH wrote: > My question is the following : > VISAD enables to change the scales and the ranges of any function domain. > Nevertheless, each time i plot a function, it is always inside a square(and > not rectangular) box. > > Is there is a way to enable scaling inside a rectangle and not a square ? Yes, as follows: double[] box_aspect = {1.0, 0.5, 2.0}; // one example ProjectionControl pc = display.getProjectionControl(); pc.setAspectCartesian(box_aspect); Good luck, Bill
visad
archives: