CONTOUR_GRADIENT_3D is a MATLAB program which demonstrates how contour lines and gradient vectors for a function f(x,y) can be displayed in a 3D plot.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CONTOUR_GRADIENT_3D is available in a MATLAB version.
CONTOUR_GRADIENT, a MATLAB program which displays contours and gradient vectors for a function f(x,y).
CONTOUR_SEQUENCE4, a MATLAB program which makes a sequence of contour plots based on a single XY coordinate file, and a sequence of Z(X,Y) data files.
DIST_PLOT, a MATLAB program which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh code;
LEVELS, a MATLAB library which makes a contour plot, choosing the contour levels using random sampling.
MATLAB_SURF, a MATLAB library which demonstrates the MATLAB surf() function for displaying a 3D surface of the form Z=F(X,Y).
TRIANGULATION_ORDER3_CONTOUR, a MATLAB program which makes contour plot of scattered data, or of data defined on an order 3 triangulation.
TRIANGULATION_ORDER6_CONTOUR, a MATLAB program which makes contour plots of data defined on an order 6 triangulation.
TWOD_PLOTC, a MATLAB program which makes a color contour plot of scalar data defined on a 2D finite element mesh.
VECTOR_MAGNITUDE_GRID, a MATLAB program which reads vector data at "scattered" points, computes an interpolatory function, evaluates it on a uniform grid of user-specified density, and produces a contour plot of the vector magnitude.
You can go up one level to the MATLAB source codes.