%% Interpolate Colors Across Faces
% Create color matrix C. Then create a pseudocolor plot of C, and store the Surface object in the return argument s.

C = [5 13 9 7 12; 11 2 14 8 10; 6 1 3 4 15];
s = pcolor(C);

%
% To interpolate the colors across the faces, set the FaceColor propery of s to 'interp'.

s.FaceColor = 'interp';

% Copyright 2018 The MathWorks, Inc.