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.
Hi John, > Is it possible to produce plots with more than one axis scale in the > same direction? That is, if you have two or more RealTypes mapped to > the same domain, is it possible to plot them in the same visualization > space? If so, how? Yes, it is possible. There's a nice example with display2 in visad/paoloa/GoesCollaboration.java, between lines 532 and 556. The setScaleEnable(true) call on GraphicsModeControl enables scales for all RealTypes mapped to XAxis, YAxis and ZAxis. In display2, the RealTypes temp, mixr, ozone and pressure are all mapped to XAxis. The setScaleColor() method of ScalarMap is used to set the color of each scale. Cheers, Bill p.s., GoesCollaboration calls some Fortran native code so only runs on Sparc Solaris. ---------------------------------------------------------- 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: