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

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

figure
ribbon(y,z)

% Copyright 2015 The MathWorks, Inc.