%% Create Waterfall Plot
% Create a waterfall plot of the peaks function.

figure
[X,Y,Z] = peaks(30);
waterfall(X,Y,Z)

% Copyright 2015 The MathWorks, Inc.