Hi Gaoming,
> I used Irregular2DSet to draw my data. I also used its valueToInterp
> method to
> interpolate some points. Now I want to draw these interpolated points as one
> line
> instead of surface in the same Coordinate system of my original data.
Use the locations of the interpolated points to construct a
Gridded2DSet with manifold dimension = 1. You can see an
example of this constructor in visad/examples/Rivers.java
(which then combines several such Gridded2DSets into a
UnionSet to get several lines, but you don't need that step).
Good luck,
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