public static PlotCanvas plot(double[][] vertices, int[][] edges) {
        double[] lowerBound = Math.colMin(vertices);
        double[] upperBound = Math.colMax(vertices);

        PlotCanvas canvas = new PlotCanvas(lowerBound, upperBound);

        Wireframe frame = new Wireframe(vertices, edges);
        canvas.add(frame);

        return canvas;
    }
public static PlotCanvas plot ( double [ ] [ ] vertices , int [ ] [ ] edges ) { double [ ] lowerBound = Math . colMin ( vertices ) ; double [ ] upperBound = Math . colMax ( vertices ) ; PlotCanvas canvas = new PlotCanvas ( lowerBound , upperBound ) ; Wireframe frame = new Wireframe ( vertices , edges ) ; canvas . add ( frame ) ; return canvas ; }
Create a wire frame plot canvas.
@param vertices a n-by-2 or n-by-3 array which are coordinates of n vertices.