|
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
|
| Rev | Line | |
|---|
| [8eb85de] | 1 | set terminal pdfcairo color enhanced size 3.625in,2.5in font "Times,17"
|
|---|
| 2 |
|
|---|
| 3 | set size 1.0, 1.0 # scale of plot area inside terminal
|
|---|
| 4 | set origin 0.0, 0.0 # bottom-left corner
|
|---|
| [16a843b] | 5 |
|
|---|
| 6 | INDIR="build"
|
|---|
| 7 | OUTDIR="build"
|
|---|
| 8 |
|
|---|
| [8eb85de] | 9 | set lmargin 10
|
|---|
| 10 |
|
|---|
| [16a843b] | 11 | set macros
|
|---|
| [8eb85de] | 12 | set output OUTDIR."/plot-list-zoomin-rel-swift.pdf"
|
|---|
| [16a843b] | 13 |
|
|---|
| 14 | set grid
|
|---|
| [8eb85de] | 15 | unset key
|
|---|
| [16a843b] | 16 | set logscale x 2
|
|---|
| 17 | set logscale y 2
|
|---|
| [6c58850] | 18 | set yrange [0.3:1.8];
|
|---|
| [16a843b] | 19 | set 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] | 34 | set xrange [0.75:180];
|
|---|
| [16a843b] | 35 | set xlabel "List length (item count)" offset 2,0
|
|---|
| [e57a405] | 36 | set ylabel "Duration (tailq-Relative)" offset -1.0,0
|
|---|
| [16a843b] | 37 | set errorbars 2.0
|
|---|
| [8eb85de] | 38 | set pointintervalbox 0
|
|---|
| [16a843b] | 39 |
|
|---|
| 40 | # Draw axis-like line at speedup=0% (y=1.0)
|
|---|
| 41 | set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
|
|---|
| 42 |
|
|---|
| [8eb85de] | 43 | plot 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.