source: doc/theses/aaron_moss_PhD/phd/evaluation/algo-summary.gp @ 4b75ae9

Last change on this file since 4b75ae9 was ab3a69c, checked in by Aaron Moss <a3moss@…>, 6 years ago

thesis: fixes to graphs

  • Property mode set to 100644
File size: 1.4 KB
Line 
1# set terminal pdfcairo size 6.25,2.125
2# set output "tests-completed.pdf"
3set terminal pslatex size 6.25,3.25 color solid
4set output BUILD."tests-completed.tex"
5
6set linetype 1 lc rgb 'black'
7set linetype 2 lc rgb 'red'
8set linetype 3 lc rgb 'blue'
9set linetype 4 lc rgb 'green'
10
11set style data histogram
12set style fill pattern 4 border lt -1
13unset key
14set xtics rotate #by 45 offset -7.5,-4.5
15
16# TESTS COMPLETED #
17set yrange [0:131]
18
19plot 'evaluation/algo-summary.dat' using ($5 == 1 ? $2 : 1/0):xtic(1) with boxes, \
20        '' using ($5 == 2 ? $2 : 1/0):xtic(1) with boxes, \
21        '' using ($5 == 3 ? $2 : 1/0):xtic(1) with boxes
22
23# BU AVG. RUNTIME #
24set output BUILD."bu-runtime.tex"
25
26unset yrange
27set ylabel "ms"
28
29plot 'evaluation/bu-summary.dat' using 3:xtic(1) with boxes
30
31# AVG. RUNTIME #
32set output BUILD."avg-runtime.tex"
33
34plot 'evaluation/algo-summary.dat' using ($5 == 1 ? $4 : 1/0):xtic(1) with boxes, \
35        '' using ($5 == 2 ? $4 : 1/0):xtic(1) with boxes, \
36        '' using ($5 == 3 ? $4 : 1/0):xtic(1) with boxes
37
38# BU AVG. PEAK MEMORY #
39set output BUILD."bu-peak-mem.tex"
40
41set ylabel "MB"
42
43plot 'evaluation/bu-summary.dat' using 2:xtic(1) with boxes
44
45# AVG. PEAK MEMORY #
46set output BUILD."avg-peak-mem.tex"
47
48set yrange [0:80]
49
50set label "125" at 18.25,82
51set label "322" at 19.75,82
52plot 'evaluation/algo-summary.dat' using ($5 == 1 ? $3 : 1/0):xtic(1) with boxes, \
53        '' using ($5 == 2 ? $3 : 1/0):xtic(1) with boxes, \
54        '' using ($5 == 3 ? $3 : 1/0):xtic(1) with boxes
Note: See TracBrowser for help on using the repository browser.