contour_gradient, a MATLAB code 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_gradient is available in a MATLAB version.
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.
contour_sequence4, a MATLAB code 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 code which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh code;
levels, a MATLAB code which makes a contour plot, choosing the contour levels using random sampling.
surf_test, a MATLAB code which demonstrates the MATLAB surf() function for displaying a 3D surface of the form Z=F(X,Y).
triangulation_order3_contour, a MATLAB code which makes contour plot of scattered data, or of data defined on an order 3 triangulation.
triangulation_order6_contour, a MATLAB code which makes contour plots of data defined on an order 6 triangulation.