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.
hello mailinglistEner i have a problem. i would like to draw a triangle with the x,y coordinates (0.5/0.5 | 1.0/1.0 | 1.0/0.5 | 0.5/0.5) i wrote something like this x = new RealType("X", SI.meter, null); y = new RealType("Y", SI.meter, null); double [][] x_vals = new double[][]{{0.5,1.0,1.0,0.5}}; x_set = new Gridded1DDoubleSet(x, x_vals, 4); double [][] y_vals = new double[][]{{0.5,1.0,0.5,0.5}}; and he shows me after the start this Set.Exception Gridded1DDoubleSet: samples do not form a valid grid (2) i think that is because of the same coordinates and the Gridded1DDoubleSet. but which set should i use ? thanks larsson
visad
archives: