function test2_plot()

% Plot results for test1.
% 
% M Hewitson 25-07-07
% 
% $Id: test2_plot.m,v 1.5 2007/12/07 08:57:33 hewitson Exp $
% 

load 'test2_results_Vista64.mat';

results

figure
loglog(results.N*10, results.S, 'k.');
xlabel('AO Size [s]');
ylabel('Submit time [s]');
grid on;

out = [results.N.'  results.S.'];
save 'test2_submit.txt' out -ASCII -TABS -DOUBLE
  
save2pdf('test2_submit_Vista64.pdf', gcf, 600);



figure
loglog(results.N*10, results.R, 'k.');
xlabel('AO Size [s]');
ylabel('Retrieve time [s]');
grid on;

out = [results.N.'  results.R.'];
save 'test2_retrieve.txt' out -ASCII -TABS -DOUBLE
save2pdf('test2_retrieve_Vista64.pdf', gcf, 600);


figure
plot(results.N, results.T, 'k.');
xlabel('AO Size [s]');
ylabel('Retrieve time [s]');
grid on;

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



% END