% Generate some pretend data. (You should use your actual data.) M = rand(8,5) + (1:8)';
% Plot the Columns 2 and 5 as a function of Column 1 figure plot(M(:,1),M(:,2),'r.-',M(:,1),M(:,5),'g.-')

% Generate some pretend data. (You should use your actual data.) M = rand(8,5) + (1:8)';
% Plot the Columns 2 and 5 as a function of Column 1 figure plot(M(:,1),M(:,2),'r.-',M(:,1),M(:,5),'g.-')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!