| 1 | set terminal pdfcairo color enhanced size 3.4375in,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
|
|---|
| 5 |
|
|---|
| 6 | INDIR="build"
|
|---|
| 7 | OUTDIR="build"
|
|---|
| 8 |
|
|---|
| 9 | set macros
|
|---|
| 10 | set output OUTDIR."/plot-list-zoomin-abs-i-swift.pdf"
|
|---|
| 11 |
|
|---|
| 12 | set lmargin screen (0.5/3.4375) # half inch
|
|---|
| 13 |
|
|---|
| 14 | set grid
|
|---|
| 15 | set key bottom right
|
|---|
| 16 |
|
|---|
| 17 | set logscale y
|
|---|
| 18 | set yrange [1:15];
|
|---|
| 19 | set ytics (1,2,3,4,5,6,7,8,10,12,14) nomirror
|
|---|
| 20 | set ylabel "Duration (ns)"
|
|---|
| 21 |
|
|---|
| 22 | set logscale x 2
|
|---|
| 23 | set xrange [0.75:180];
|
|---|
| 24 | set xlabel "List length (item count)"
|
|---|
| 25 | # set format x ""
|
|---|
| 26 |
|
|---|
| 27 | # "drop" page-centre side of bounding box (drop whole box, re-draw desired three)
|
|---|
| 28 | unset border
|
|---|
| 29 | set arrow from graph 0, graph 0 to graph 0, graph 1 nohead lw 1 front # left
|
|---|
| 30 | set arrow from graph 0, graph 1 to graph 1, graph 1 nohead lw 1 front # top
|
|---|
| 31 | set arrow from graph 0, graph 0 to graph 1, graph 0 nohead lw 1 front # bot
|
|---|
| 32 |
|
|---|
| 33 | # labelled boxes around size zones
|
|---|
| 34 | set object rect from first 6, first 2.5 to first 23, first 10 fc rgb "black" fs empty lw 2.0
|
|---|
| 35 | set object rect from first 45, first 3.5 to graph 0.99, first 12 fc rgb "black" fs empty lw 2.0
|
|---|
| 36 | set label "small" at first 23, first (2.5 * 0.9) right
|
|---|
| 37 | set label "medium" at graph 0.99, first (3.5 * 0.9) right
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 | #set bmargin 0
|
|---|
| 41 | set tmargin 0.1
|
|---|
| 42 | #set lmargin 0
|
|---|
| 43 | set rmargin 0.1
|
|---|
| 44 |
|
|---|
| 45 | set label "{/Times-Bold= Use Case I,}\n{/Times-Bold= AMD}" at first 1, graph 0.9 left
|
|---|
| 46 |
|
|---|
| 47 | set errorbars 2.0
|
|---|
| 48 | set pointintervalbox 0
|
|---|
| 49 |
|
|---|
| 50 | plot INDIR."/plot-list-zoomin-abs-i-swift.dat" \
|
|---|
| 51 | i 0 using ($1 * 0.98):8:4:5 notitle with yerrorbars lt rgb "blue" pt 6 ps 0.85 lw 1, \
|
|---|
| 52 | '' i 4 using ($1 * 0.94):8:4:5 notitle with yerrorbars lt rgb "dark-orange" pt 8 ps 0.75 lw 1, \
|
|---|
| 53 | '' i 3 using ($1 * 1.02):8:4:5 notitle with yerrorbars lt rgb "magenta" pt 10 ps 0.85 lw 1, \
|
|---|
| 54 | '' i 2 using ($1 * 1.06):8:4:5 title "LQ {/Helvetica=15 list}" with yerrorbars lt rgb "purple" pt 12 ps 1.0 lw 1
|
|---|