-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathtemplate.gp
32 lines (26 loc) · 1 KB
/
template.gp
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
set xlabel "Number of threads"
set ylabel "Throughput (Ops/s)"
set y2label "Scalability"
#remove top and right borders
set border 3 back
#add grid
set style line 12 lc rgb '#808080' lt 2 lw 1
set grid back ls 12
set xrange [0:]
set yrange [0:]
#the size of the graph
set size 1.4, 1.0
# lc: line color; lt: line type (1 - conitnuous); pt: point type
# ps: point size; lw: line width
set style line 1 lc rgb '#0060ad' lt 1 pt 2 ps 1.5 lw 5
set style line 2 lc rgb '#dd181f' lt 1 pt 5 ps 2 lw 5
set style line 3 lc rgb '#8b1a0e' pt 1 ps 1.5 lt 1 lw 5
set style line 4 lc rgb '#5e9c36' pt 6 ps 2 lt 2 lw 5
set style line 5 lc rgb '#663399' lt 1 pt 3 ps 1.5 lw 5
set style line 8 lc rgb '#299fff' lt 1 pt 8 ps 2 lw 5
set style line 9 lc rgb '#ff299f' lt 1 pt 9 ps 2 lw 5
set style line 6 lc rgb '#cc6600' lt 4 pt 4 ps 2 lw 5
set style line 7 lc rgb '#cccc00' lt 1 pt 7 ps 2 lw 5
# move the legend to a custom position (can also be moved to absolute coordinates)
set key outside
set terminal png font "Helvetica" 14 enhanced