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.
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: