%% Set Colors in Area Plot
% Display an area plot with three curves.

area([1 5 3; 3 2 7; 1 5 3; 2 6 1])

%
% Set the color order to blue, purple, and gray.

newcolors = [0 0.5 1; 0.5 0 1; 0.7 0.7 0.7];
colororder(newcolors)

% Copyright 2020 The MathWorks, Inc.