-
Notifications
You must be signed in to change notification settings - Fork 1
/
benchmark.gp.sh
39 lines (31 loc) · 1.03 KB
/
benchmark.gp.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
cat <<EOF
set terminal png size 640,480 font "Gill Sans" 9 rounded #transparent
# Line style for axes
set style line 80 lt 0
set style line 80 lt rgb "#808080"
# Line style for grid
set style line 81 lt 3 # dashed
set style line 81 lt rgb "#cccccc" lw 0.5 # grey
set grid back linestyle 81
set border 3 back linestyle 80
set xtics nomirror
set ytics nomirror
set key nobox top right
# Line styles: try to pick pleasing colors, rather
# than strictly primary colors or hard-to-see colors
# like gnuplot's default yellow. Make the lines thick
# so they're easy to see in small plots in papers.
set style line 1 lt 1
set style line 2 lt 1
set style line 3 lt 1
set style line 4 lt 1
set style line 1 lt rgb "#A00000" lw 2 pt 7
set style line 2 lt rgb "#00A000" lw 2 pt 9
set style line 3 lt rgb "#5060D0" lw 2 pt 5
set style line 4 lt rgb "#F25900" lw 2 pt 13
set output "${OUTPUT}.png"
set xlabel "Go versions"
set ylabel "$YLABEL"
plot "$DATAFILE" i 0 using (column(0)):2:xtic(1) title columnhead(1) with linespoints ls 4
EOF