%% Ribbon Plot
% Create a ribbon plot of the |peaks| function.

% Copyright 2015 The MathWorks, Inc.


[x,y] = meshgrid(-3:.5:3,-3:.1:3);
z = peaks(x,y);

figure
ribbon(y,z)
