www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/CreateAreaGraphExample.m

    %% Create Area Graph
% Plot the data in matrix Y as an area graph. 

% Copyright 2015 The MathWorks, Inc.

Y = [1, 5, 3;
     3, 2, 7;
     1, 5, 3;
     2, 6, 1];
figure
area(Y)