%% Create Line Plot From Matrix
% Define Y as the 4-by-4 matrix returned by the magic function.

Y = magic(4)

%
% Create a 2-D line plot of Y. MATLAB® plots each matrix column as a separate line.

figure
plot(Y)

% Copyright 2015 The MathWorks, Inc.