view m-toolbox/test/aorepo_proto_test/test2_plot.m @ 1:2014ba5b353a
database-connection-manager
Remove old code
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Sat, 03 Dec 2011 18:13:55 +0100 (2011-12-03) |
parents |
f0afece42f48 |
children |
|
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