title: Build a 3d surface plot using xyz coordinates with jzy3d
body: <p>I've been searching for a way to send a list of coord(x,y,z) to jzy3d. But without success.</p>
  
  <p>The only way I found is to use a "builder" with a list of "coord3d" and a "tesselator", but it actually doesn't work.</p>
  
  <p>I don't realy get the meaning of the Tesselator in fact ?</p>
  
  <p>Here is the code I tried :</p>
  
  <pre><code>public Chart getChart(){
  
      List&lt;Coord3d&gt; coordinates = new ArrayList&lt;Coord3d&gt;();
      for(int i=0; i&lt;200; i++)
          coordinates.add( new Coord3d(5, 10, 15) );
      Tesselator tesselator = new Tesselator() {          
          @Override
          public AbstractComposite build(float[] x, float[] y, float[] z) {
              return null;
          }
      };      
      tesselator.build(coordinates);
       org.jzy3d.plot3d.primitives.Shape surface = (Shape)Builder.build(coordinates, tesselator);
  
  
  /*/ Define a function to plot
    Mapper mapper = new Mapper(){
       public double f(double x, double y) {
          return 10*Math.sin(x/10)*Math.cos(y/20)*x;
       }
    };*/
  
    // Define range and precision for the function to plot
   // Range range = new Range(-150,150);
   // int steps   = 50;
  
    // Create the object to represent the function over the given range.
   // org.jzy3d.plot3d.primitives.Shape surface = (Shape)Builder.buildOrthonormal(new OrthonormalGrid(range, steps, range, steps), mapper);
    //surface.setColorMapper(new ColorMapper(new ColorMapRainbow(), surface.getBounds().getZmin(), surface.getBounds().getZmax(), new Color(1,1,1,.5f)));
   // surface.setWireframeDisplayed(true);
  //  surface.setWireframeColor(Color.BLACK);
    //surface.setFace(new ColorbarFace(surface));
    //surface.setFaceDisplayed(true);
    //surface.setFace2dDisplayed(true); // opens a colorbar on the right part of the display
  
    // Create a chart
    Chart chart = new Chart("swing");
    chart.getScene().getGraph().add(surface);
    return chart;
  }
  </code></pre>
  
  <p>Could someone please tell me how to feed my graph with many XYZ coordonates so that I may get a 3d surface plot like this one :</p>
  
  <p><a href="https://i.stack.imgur.com/uLPr0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uLPr0.jpg" alt="A 3d surface plot"></a><br>
  <sub>(source: <a href="http://martin.pernollet.free.fr/cv/projects/jzy3d/demo_surface.jpg" rel="nofollow noreferrer">free.fr</a>)</sub>  </p>