CONTOUR_GRADIENT is a MATLAB program which displays contour lines and gradient vectors for a function f(x,y).
contour_gradient ( xmin, xmax, ymin, ymax, @f )where
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
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.
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.