view m-toolbox/test/aorepo_proto_test/test2_plot.m @ 47:dd93c9ba6624 database-connection-manager

Fix Java dialog
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 19:07:27 +0100
parents f0afece42f48
children
line wrap: on
line source

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