| 1 | set terminal pdfcairo color enhanced size 3.625in,2.0in 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-histo-rel-i-swift.pdf"
|
|---|
| 11 |
|
|---|
| 12 | set grid
|
|---|
| 13 | set nokey
|
|---|
| 14 |
|
|---|
| 15 | set logscale y (2**0.2)
|
|---|
| 16 | set yrange [0.47:2.1];
|
|---|
| 17 | set format y ""
|
|---|
| 18 | set ytics (0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0) scale 0
|
|---|
| 19 |
|
|---|
| 20 | set logscale y2 (2**0.2)
|
|---|
| 21 | set y2range [0.47:2.1];
|
|---|
| 22 | set format y2 ""
|
|---|
| 23 | set y2tics (0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0) nomirror
|
|---|
| 24 |
|
|---|
| 25 | # Draw fake x axis at y=1.0; use vertical-only bounding 'H'
|
|---|
| 26 | unset border
|
|---|
| 27 | set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
|
|---|
| 28 | set arrow 101 from graph 1, graph 0 to graph 1, graph 1 nohead lw 1 front
|
|---|
| 29 |
|
|---|
| 30 | set xrange [-0.75:16.5];
|
|---|
| 31 | set xlabel "Size Zone; Prevalence"
|
|---|
| 32 | set xtics ( \
|
|---|
| 33 | "" 0, \
|
|---|
| 34 | "Small (/4)" 1, \
|
|---|
| 35 | "" 2, \
|
|---|
| 36 | "" 3, \
|
|---|
| 37 | \
|
|---|
| 38 | "" 6, \
|
|---|
| 39 | "Medium (/4)" 7, \
|
|---|
| 40 | "" 8, \
|
|---|
| 41 | "" 9, \
|
|---|
| 42 | \
|
|---|
| 43 | "" 12, \
|
|---|
| 44 | "Both (/8)" 13, \
|
|---|
| 45 | "" 14, \
|
|---|
| 46 | "" 15, \
|
|---|
| 47 | ) scale 0 offset first 0.5,0
|
|---|
| 48 |
|
|---|
| 49 | #set bmargin 0
|
|---|
| 50 | set tmargin 0.1
|
|---|
| 51 | set lmargin 0
|
|---|
| 52 | set rmargin 0.1
|
|---|
| 53 |
|
|---|
| 54 | barHtScale_fx = 0.30
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 | set errorbars 0 linewidth 4
|
|---|
| 58 | set pointintervalbox 0
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 | plot INDIR."/plot-list-histo-rel-i-swift.det.dat" \
|
|---|
| 62 | i 4 + 0 using (0):(0):( 0 + 0):( 0 + 0 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.15 noborder, \
|
|---|
| 63 | '' i 4 + 3 using (0):(0):( 0 + 1):( 0 + 1 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.15 noborder, \
|
|---|
| 64 | '' i 4 + 2 using (0):(0):( 0 + 2):( 0 + 2 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.15 noborder, \
|
|---|
| 65 | '' i 4 + 1 using (0):(0):( 0 + 3):( 0 + 3 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "purple" fs transparent solid 0.35 noborder, \
|
|---|
| 66 | '' i 4 + 0 using ( 0 + 0 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 67 | '' i 4 + 3 using ( 0 + 1 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 68 | '' i 4 + 2 using ( 0 + 2 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 69 | '' i 4 + 1 using ( 0 + 3 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "purple" lw 0.3, \
|
|---|
| 70 | \
|
|---|
| 71 | '' i 0 + 0 using (0):(0):( 6 + 0):( 6 + 0 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.15 noborder, \
|
|---|
| 72 | '' i 0 + 3 using (0):(0):( 6 + 1):( 6 + 1 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.15 noborder, \
|
|---|
| 73 | '' i 0 + 2 using (0):(0):( 6 + 2):( 6 + 2 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.15 noborder, \
|
|---|
| 74 | '' i 0 + 1 using (0):(0):( 6 + 3):( 6 + 3 + 2* barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "purple" fs transparent solid 0.35 noborder, \
|
|---|
| 75 | '' i 0 + 0 using ( 6 + 0 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 76 | '' i 0 + 3 using ( 6 + 1 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 77 | '' i 0 + 2 using ( 6 + 2 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 78 | '' i 0 + 1 using ( 6 + 3 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "purple" lw 0.3, \
|
|---|
| 79 | \
|
|---|
| 80 | '' i 8 + 0 using (0):(0):(12 + 0):(12 + 0 + barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.15 noborder, \
|
|---|
| 81 | '' i 8 + 3 using (0):(0):(12 + 1):(12 + 1 + barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.15 noborder, \
|
|---|
| 82 | '' i 8 + 2 using (0):(0):(12 + 2):(12 + 2 + barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.15 noborder, \
|
|---|
| 83 | '' i 8 + 1 using (0):(0):(12 + 3):(12 + 3 + barHtScale_fx * $3):1:2 notitle with boxxyerror fc rgb "purple" fs transparent solid 0.35 noborder, \
|
|---|
| 84 | '' i 8 + 0 using (12 + 0 + barHtScale_fx * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 85 | '' i 8 + 3 using (12 + 1 + barHtScale_fx * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 86 | '' i 8 + 2 using (12 + 2 + barHtScale_fx * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 87 | '' i 8 + 1 using (12 + 3 + barHtScale_fx * $3):2 notitle with steps lc rgb "purple" lw 0.3, \
|
|---|
| 88 | \
|
|---|
| 89 | INDIR."/plot-list-histo-rel-i-swift.sum.dat" \
|
|---|
| 90 | i 4 + 0 using ( 0 + 0):1:( 0 + 0):( 0 + 0 + .8) title "{/Helvetica=15 C{/Symbol \42}}" with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 91 | '' i 4 + 3 using ( 0 + 1):1:( 0 + 1):( 0 + 1 + .8) title "{/Symbol \155}C++" with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 92 | '' i 4 + 2 using ( 0 + 2):1:( 0 + 2):( 0 + 2 + .8) title "LQ {/Helvetica=15 tailq}" with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 93 | '' i 4 + 1 using ( 0 + 3):1:( 0 + 3):( 0 + 3 + .8) title "LQ {/Helvetica=15 list}" with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4, \
|
|---|
| 94 | \
|
|---|
| 95 | '' i 0 + 0 using ( 6 + 0):1:( 6 + 0):( 6 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 96 | '' i 0 + 3 using ( 6 + 1):1:( 6 + 1):( 6 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 97 | '' i 0 + 2 using ( 6 + 2):1:( 6 + 2):( 6 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 98 | '' i 0 + 1 using ( 6 + 3):1:( 6 + 3):( 6 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4, \
|
|---|
| 99 | \
|
|---|
| 100 | '' i 8 + 0 using (12 + 0):1:(12 + 0):(12 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 101 | '' i 8 + 3 using (12 + 1):1:(12 + 1):(12 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 102 | '' i 8 + 2 using (12 + 2):1:(12 + 2):(12 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 103 | '' i 8 + 1 using (12 + 3):1:(12 + 3):(12 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4
|
|---|