]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/blob - scripts/plot_histogram.pl
Fix plotting nodes
[hubacji1/iamcar2.git] / scripts / plot_histogram.pl
1 # The columns you want:
2 #
3 #       c1 = 2 * NUMBER_OF_WHATS * FILE_INDEX + 2 * WHAT_INDEX + 1
4 #       c2 = 2 * NUMBER_OF_WHATS * FILE_INDEX + 2 * WHAT_INDEX + 2
5 #       tit = 'WHAT FILE histogram'
6 #
7 # Where WHAT_INDEX is:
8 #       0 -- time
9 #       1 -- iterations
10 #       2 -- cost
11 #       3 -- cusps-in-path
12 #       4 -- connecteds-in-path
13 #       5 -- nodes
14 #
15 # FILE_INDEX starts at 0, files are ordered alphabetically.
16 #
17 if (!exists('c1')) c1=1
18 if (!exists('c2')) c2=2
19 if (!exists('tit')) tit='Time histogram'
20 plot 'hist' u c1:c2 w boxes t tit
21 set terminal postscript eps size 3.5,2.62 enhanced color font 'Courrier,20' linewidth 2
22 set output 'out.eps'
23 replot