| [17f2a7f4] | 1 | set terminal pdfcairo color enhanced size 6.5in,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-mchn-szz.pdf"
|
|---|
| 11 |
|
|---|
| 12 | set lmargin 10
|
|---|
| 13 | set bmargin 4
|
|---|
| 14 |
|
|---|
| 15 | set grid
|
|---|
| 16 | unset key
|
|---|
| 17 |
|
|---|
| 18 | relDurBot = 0.3
|
|---|
| 19 | relDurTop = 3.0
|
|---|
| 20 | meanDurAbs = 4.18468330
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | set ylabel "Duration (relative)" offset -1.0,0
|
|---|
| 24 | set logscale y 2
|
|---|
| 25 | set yrange [relDurBot:relDurTop];
|
|---|
| 26 | set ytics ( \
|
|---|
| 27 | "+40%%" 1.666666667, \
|
|---|
| 28 | "+30%%" 1.428571429, \
|
|---|
| 29 | "+20%%" 1.25, \
|
|---|
| 30 | "+10%%" 1.111111111, \
|
|---|
| 31 | "0" 1, \
|
|---|
| 32 | "-20%%" 0.833333333, \
|
|---|
| 33 | "-40%%" 0.714285714, \
|
|---|
| 34 | "-60%%" 0.625, \
|
|---|
| 35 | "-80%%" 0.555555556, \
|
|---|
| 36 | "-100%%" 0.5, \
|
|---|
| 37 | "-130%%" 0.434782609, \
|
|---|
| 38 | "-160%%" 0.384615385, \
|
|---|
| 39 | "-200%%" 0.333333333 \
|
|---|
| 40 | ) nomirror
|
|---|
| 41 | set y2label "Duration (ns)" offset 0,0
|
|---|
| 42 | set logscale y2 2
|
|---|
| 43 | set y2range [ relDurBot*meanDurAbs : relDurTop * meanDurAbs ];
|
|---|
| 44 | set y2tics (1,2,3,4,5,6,7,8,10,12,14)
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 | set xrange [-0.25:4.25];
|
|---|
| 48 | set xlabel "Machine, Size Zone; Prevalence" offset 2,-1
|
|---|
| 49 | set xtics (\
|
|---|
| 50 | "AMD\nsmall" 0, \
|
|---|
| 51 | "AMD\nmed." 1, \
|
|---|
| 52 | "Intel\nsmall" 2, \
|
|---|
| 53 | "Intel\nmed." 3 \
|
|---|
| 54 | )
|
|---|
| 55 |
|
|---|
| 56 | set errorbars 2.0
|
|---|
| 57 | set pointintervalbox 0
|
|---|
| 58 |
|
|---|
| 59 | barHtScale = 0.04
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 | plot INDIR."/plot-list-mchn-szz.dat" \
|
|---|
| 63 | i 3 using (0):(0):(0):(0 + barHtScale * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black" fs transparent solid 0.15 noborder, \
|
|---|
| 64 | '' i 2 using (0):(0):(1):(1 + barHtScale * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black" fs transparent solid 0.15 noborder, \
|
|---|
| 65 | '' i 1 using (0):(0):(2):(2 + barHtScale * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black" fs transparent solid 0.15 noborder, \
|
|---|
| 66 | '' i 0 using (0):(0):(3):(3 + barHtScale * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black" fs transparent solid 0.15 noborder, \
|
|---|
| 67 | '' i 3 using (0 + barHtScale * $3):2 notitle with steps lc rgb "black" lw 0.3, \
|
|---|
| 68 | '' i 2 using (1 + barHtScale * $3):2 notitle with steps lc rgb "black" lw 0.3, \
|
|---|
| 69 | '' i 1 using (2 + barHtScale * $3):2 notitle with steps lc rgb "black" lw 0.3, \
|
|---|
| 70 | '' i 0 using (3 + barHtScale * $3):2 notitle with steps lc rgb "black" lw 0.3
|
|---|