%% 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)