%% Downsample the Copper Colormap
% Get a downsampled version of the copper colormap containing only ten colors. Then display the contours of the peaks function by applying the colormap and interpolated shading.

c = copper(10);
surf(peaks);
colormap(c);
shading interp;

% Copyright 2012 The MathWorks, Inc.