3D pseudo color plot (function surf)
// load the peaks sample data peaks = matplot.peaks(); // make a figure of size 700 x 500 pixels fig = new matplot.Figure("plot",700,500); // add axis to the figure ax = fig.axes(); // pseudo color plot ax.surf(peaks.x,peaks.y,peaks.z); //ax.CameraPosition([27.394, 35.701, 25.981]); // add color-bar ax.colorbar(); // draw everything fig.draw();