diff m-toolbox/test/aorepo_proto_test/test1_plot.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/test/aorepo_proto_test/test1_plot.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,57 @@
+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
\ No newline at end of file