Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function test1_plot() | |
2 | |
3 % Plot results for test1. | |
4 % | |
5 % M Hewitson 25-07-07 | |
6 % | |
7 % $Id: test1_plot.m,v 1.4 2008/03/01 14:53:31 hewitson Exp $ | |
8 % | |
9 | |
10 load 'test1_results_Vista64.mat'; | |
11 | |
12 figure | |
13 plot(results.N, results.S, 'k.'); | |
14 xlabel('Num AOs in Repo'); | |
15 ylabel('Submit time [s]'); | |
16 grid on; | |
17 title(sprintf('Test running from %s to %s',... | |
18 datestr(results.start,31), datestr(results.stop,31))); | |
19 | |
20 | |
21 out = [results.N.' results.S.']; | |
22 save 'test1_submit.txt' out -ASCII -TABS -DOUBLE | |
23 | |
24 save2pdf('test1_submit_Vista64.pdf', gcf, 600); | |
25 | |
26 | |
27 | |
28 figure | |
29 plot(results.N, results.R, 'k.'); | |
30 xlabel('Num AOs in Repo'); | |
31 ylabel('Retrieve time [s]'); | |
32 grid on; | |
33 title(sprintf('Test running from %s to %s',... | |
34 datestr(results.start,31), datestr(results.stop,31))); | |
35 | |
36 out = [results.N.' results.R.']; | |
37 save 'test1_retrieve.txt' out -ASCII -TABS -DOUBLE | |
38 | |
39 save2pdf('test1_retrieve_Vista64.pdf', gcf, 600); | |
40 | |
41 | |
42 figure | |
43 plot(results.N, results.T, 'k.'); | |
44 xlabel('Num AOs in Repo'); | |
45 ylabel('Retrieve time [s]'); | |
46 grid on; | |
47 title(sprintf('Test running from %s to %s',... | |
48 datestr(results.start,31), datestr(results.stop,31))); | |
49 | |
50 out = [results.N.' results.T.']; | |
51 save 'test1_status.txt' out -ASCII -TABS -DOUBLE | |
52 | |
53 etime(datevec(results.stop), datevec(results.start)) / 3600 | |
54 | |
55 | |
56 | |
57 % END |