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