%% Plot Line Using Vector Data
% Create x and y as vectors. Then plot y versus x.

x = linspace(0,10);
y = sin(x);
line(x,y)

% Copyright 2012 The MathWorks, Inc.