www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/CreateLinePlotFromMatrixExample.m
%% Create Line Plot From Matrix % Define |Y| as the 4-by-4 matrix returned by the |magic| function. % Copyright 2015 The MathWorks, Inc. Y = magic(4) %% % Create a 2-D line plot of |Y|. MATLAB(R) plots each matrix column as a % separate line. figure plot(Y)