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 Xinman, I'm in the UK and can only answer briefly. Study these Sections of the VisAD Developers Guide: 3.1.14 Application Example: Synthesizing MathTypes 3.2.14 Application Example: Synthesizing Fields and also visad/examples/Test03.java. You need to Construct a FunctionType: (RealType.Time -> temperature) and use DateTime to help construct a Linear1DSet for your dates/times (which appear to be evenly spaced - if they weren't you'd construct a Gridded1DDoubleSet instead of the Linear1DSet). Then construct a FlatField from these, and call setSamples() to put your temperature values in it. Then construct a DisplayImplJ3D (or DisplayImplJ2D), link it to your FlatField (as in Test03.java or any other example), and construct ScalarMaps: ScalarMap(RealType.Time, Display.XAxis) ScalarMap(temperature, Display.YAxis) and addMap() these to the DisplayImplJ*D. Study the guide and the examples, and hopefully it will become clear. 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: