Commit | Line | Data |
---|---|---|
7642fe3b MW |
1 | ### -*-gnuplot-*- |
2 | ||
3 | set terminal tikz | |
4 | set logscale xy 2 | |
5 | set style data linespoints | |
6 | set key center top font '\footnotesize\itshape' box | |
7 | set border 3 | |
8 | set tics nomirror | |
9 | set xtics 16 | |
10 | ||
11 | set xlabel "List length" | |
12 | set xtics (1, 16, 256, 4096, '$65\,536$' 65536, '$2^{20}$' 2**20) | |
13 | set ylabel "Cycles per element" | |
14 | ||
15 | plot file index "> baseline" using 1:2 title "baseline", \ | |
16 | "" index "> forward" using 1:2 title "forward", \ | |
17 | "" index "> macro" using 1:2 title "macro", \ | |
18 | "" index "> nreverse" using 1:2 title "nreverse", \ | |
19 | "" index "> reverse" using 1:2 title "reverse", \ | |
20 | "" index "> loop" using 1:2 title "loop" |