Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function test2_plot() | |
2 | |
3 % Plot results for test1. | |
4 % | |
5 % M Hewitson 25-07-07 | |
6 % | |
7 % $Id: test2_plot.m,v 1.5 2007/12/07 08:57:33 hewitson Exp $ | |
8 % | |
9 | |
10 load 'test2_results_Vista64.mat'; | |
11 | |
12 results | |
13 | |
14 figure | |
15 loglog(results.N*10, results.S, 'k.'); | |
16 xlabel('AO Size [s]'); | |
17 ylabel('Submit time [s]'); | |
18 grid on; | |
19 | |
20 out = [results.N.' results.S.']; | |
21 save 'test2_submit.txt' out -ASCII -TABS -DOUBLE | |
22 | |
23 save2pdf('test2_submit_Vista64.pdf', gcf, 600); | |
24 | |
25 | |
26 | |
27 figure | |
28 loglog(results.N*10, results.R, 'k.'); | |
29 xlabel('AO Size [s]'); | |
30 ylabel('Retrieve time [s]'); | |
31 grid on; | |
32 | |
33 out = [results.N.' results.R.']; | |
34 save 'test2_retrieve.txt' out -ASCII -TABS -DOUBLE | |
35 save2pdf('test2_retrieve_Vista64.pdf', gcf, 600); | |
36 | |
37 | |
38 figure | |
39 plot(results.N, results.T, 'k.'); | |
40 xlabel('AO Size [s]'); | |
41 ylabel('Retrieve time [s]'); | |
42 grid on; | |
43 | |
44 etime(datevec(results.stop), datevec(results.start)) / 3600 | |
45 | |
46 | |
47 | |
48 % END |