source: doc/theses/mike_brooks_MMath/plots/list-zoomin-rel-swift.gp

Last change on this file was 6767f27, checked in by Michael Brooks <mlbrooks@…>, 4 days ago

Refactor list plotting code to enable new analyses.

Visible difference in relative plots no longer being 3 others baselined to lq-tailq, now all 4 baselined to their mean.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[8eb85de]1set terminal pdfcairo color enhanced size 3.625in,2.5in font "Times,17"
2
3set size 1.0, 1.0 # scale of plot area inside terminal
4set origin 0.0, 0.0 # bottom-left corner
[16a843b]5
6INDIR="build"
7OUTDIR="build"
8
[8eb85de]9set lmargin 10
10
[16a843b]11set macros
[8eb85de]12set output OUTDIR."/plot-list-zoomin-rel-swift.pdf"
[16a843b]13
14set grid
[8eb85de]15unset key
[16a843b]16set logscale x 2
17set logscale y 2
[6c58850]18set yrange [0.3:1.8];
[16a843b]19set ytics ( \
20 "+40%%" 1.666666667, \
21 "+30%%" 1.428571429, \
22 "+20%%" 1.25, \
23 "+10%%" 1.111111111, \
24 "0" 1, \
25 "-20%%" 0.833333333, \
[6c58850]26 "-40%%" 0.714285714, \
27 "-60%%" 0.625, \
28 "-80%%" 0.555555556, \
29 "-100%%" 0.5, \
30 "-130%%" 0.434782609, \
31 "-160%%" 0.384615385, \
32 "-200%%" 0.333333333 \
[16a843b]33)
[8eb85de]34set xrange [0.75:180];
[16a843b]35set xlabel "List length (item count)" offset 2,0
[e57a405]36set ylabel "Duration (tailq-Relative)" offset -1.0,0
[16a843b]37set errorbars 2.0
[8eb85de]38set pointintervalbox 0
[16a843b]39
40# Draw axis-like line at speedup=0% (y=1.0)
41set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
42
[8eb85de]43plot INDIR."/plot-list-zoomin-rel-swift.dat" \
44 i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue" pt 6 ps 0.85 lw 1, \
[6767f27]45 '' i 4 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange" pt 8 ps 0.75 lw 1, \
46 '' i 3 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta" pt 10 ps 0.85 lw 1, \
47 '' i 2 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple" pt 12 ps 1.0 lw 1
Note: See TracBrowser for help on using the repository browser.