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

% Copyright 2015 The MathWorks, Inc.


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