source: doc/theses/mike_brooks_MMath/plots/list-zoomin-rel.gp@ 5ba1356

Last change on this file since 5ba1356 was 16a843b, checked in by Michael Brooks <mlbrooks@…>, 3 months ago

add linked-list performance assessment

  • Property mode set to 100644
File size: 1.2 KB
Line 
1set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
2
3INDIR="build"
4OUTDIR="build"
5
6set macros
7set output OUTDIR."/plot-list-zoomin-rel.pdf"
8
9set grid
10set key top right
11set logscale x 2
12set logscale y 2
13set yrange [0.85:1.33];
14set ytics ( \
15 "+40%%" 1.666666667, \
16 "+30%%" 1.428571429, \
17 "+20%%" 1.25, \
18 "+10%%" 1.111111111, \
19 "0" 1, \
20 "-10%%" 0.909090909, \
21 "-20%%" 0.833333333, \
22 "-30%%" 0.769230769, \
23)
24set xrange [0.75:128];
25set xlabel "List length (item count)" offset 2,0
26set ylabel "Duration (tailq-Relative)"
27set errorbars 2.0
28
29# Draw axis-like line at speedup=0% (y=1.0)
30set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
31
32plot INDIR."/plot-list-zoomin-rel.dat" \
33 i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue" pt 7 ps 0.85 lw 1, \
34 '' i 9 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange" pt 9 ps 0.75 lw 1, \
35 '' i 8 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta" pt 11 ps 0.85 lw 1, \
36 '' i 7 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple" pt 13 ps 1.0 lw 1
Note: See TracBrowser for help on using the repository browser.