%% Display Curtain Around Mesh Plot
% Create three matrices of the same size. Then plot them as a mesh plot with a curtain. The mesh plot uses Z for both height and color.

[X,Y] = meshgrid(-3:.125:3);
Z = peaks(X,Y);
meshz(X,Y,Z)

% Copyright 2015 The MathWorks, Inc.