www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/DisplayMeshAndContourPlotOfSurfaceExample.m
%% Display Contour Plot Under Mesh Plot % Use |meshc| to display a combination of a mesh plot and a contour plot of % the |peaks| function. % Copyright 2015 The MathWorks, Inc. figure [X,Y] = meshgrid(-3:.125:3); Z = peaks(X,Y); meshc(Z)