diff m-toolbox/test/aorepo_proto_test/test2_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/test2_plot.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,48 @@
+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
\ No newline at end of file