surf_test, a MATLAB code which calls surf(), which demonstrates the display of a 3D surface or contour plot for data of the form Z=F(X,Y).


The computer code and data files described and made available on this web page are distributed under the MIT license


surf_test is available in a MATLAB version.

Related Data and Programs:

contour_gradient, a MATLAB code which displays contours and gradient vectors for a function f(x,y).

contour_gradient_3d, a MATLAB code which shows how contours and gradient vectors for a function f(x,y) can be displayed in a 3D plot.

levels, a MATLAB code which makes a contour plot of a function Z=F(X,Y), choosing the contour levels using random sampling.

shoreline, a MATLAB code which tries to identify and triangulate the 2D domain over which some function f(x,y) is nonnegative.

test_interp_2d, a MATLAB code which defines test problems for interpolation of regular or scattered data z(x,y), depending on a 2D argument.

voronoi_mountains, a MATLAB code which makes a mountain plot of a Voronoi diagram, that is, a surface plot of the distance from each point to its nearest Voronoi generator.

Source Code:

Last revised on 22 April 2019.