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.
Muz, Tom suggests you may have been asking about the reference box around data depictions. If so, then use the ProjectinControl.setAspectCartesian() method. See Test57.java and Test58.java in visad/examples. Bill Tom Whittaker wrote: > > Bill: > > I wonder if he wasn't asking about the shape of the VisAD "box"...? > > tom > > -------- Original Message -------- > Subject: Re: Question about display shape > Date: Sun, 05 Jan 2003 04:51:03 -0600 (CST) > From: Bill Hibbard <billh@xxxxxxxxxxxxx> > To: Muztagh <mstg_newland@xxxxxxxxxxx> > CC: visad-list@xxxxxxxxxxxxx > > Try a ScalarMap to Shape. See test46.java and Test47.java > in visad/examples. If you just have one shape in your > ShapeControl, then all RealType values map to that one > shape, which can be your rectangle. > > Good luck, > Bill > > On Sat, 4 Jan 2003, Muztagh wrote: > > > Hi, > > > > The default display shape of VisAD is a square. How can I change it into a > > rectengular and set corrosponding unit scale? > > > > Thanks. > > > > > > Muz > > -- ---------------------------------------------------------- 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
visad
archives: