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 Cameron, > Say I have a field of mathtype (time -> (a,b)) > I can successfully plot (time vs a) or (time vs b) on a Display but > I want to know if it possible to plot time vs a & b. > i.e a chart with two lines. > Can anyone help? To do that, convert the MathType to ((time -> a), (time -> b)) as follows: FlatField f = ... // MathType = (time -> (a,b)) Tuple t = new Tuple(new Data[] {f.extract(0), f.extract(1)}); Cheers, Bill ---------------------------------------------------------- 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: