function test1_plot()

% Plot results for test1.
% 
% M Hewitson 25-07-07
% 
% $Id: test1_plot.m,v 1.4 2008/03/01 14:53:31 hewitson Exp $
% 

load 'test1_results_Vista64.mat';

figure
plot(results.N, results.S, 'k.');
xlabel('Num AOs in Repo');
ylabel('Submit time [s]');
grid on;
title(sprintf('Test running from %s to %s',...
    datestr(results.start,31), datestr(results.stop,31)));

  
out = [results.N.'  results.S.'];
save 'test1_submit.txt' out -ASCII -TABS -DOUBLE

save2pdf('test1_submit_Vista64.pdf', gcf, 600);



figure
plot(results.N, results.R, 'k.');
xlabel('Num AOs in Repo');
ylabel('Retrieve time [s]');
grid on;
title(sprintf('Test running from %s to %s',...
    datestr(results.start,31), datestr(results.stop,31)));

out = [results.N.'  results.R.'];
save 'test1_retrieve.txt' out -ASCII -TABS -DOUBLE
  
save2pdf('test1_retrieve_Vista64.pdf', gcf, 600);
  
  
figure
plot(results.N, results.T, 'k.');
xlabel('Num AOs in Repo');
ylabel('Retrieve time [s]');
grid on;
title(sprintf('Test running from %s to %s',...
    datestr(results.start,31), datestr(results.stop,31)));

out = [results.N.'  results.T.'];
save 'test1_status.txt' out -ASCII -TABS -DOUBLE

etime(datevec(results.stop), datevec(results.start)) / 3600

  
  
% END