set terminal pdfcairo color enhanced size 3.625in,2.0in font "Times,17" set size 1.0, 1.0 # scale of plot area inside terminal set origin 0.0, 0.0 # bottom-left corner INDIR="build" OUTDIR="build" set macros set output OUTDIR."/plot-list-histo-rel-i-swift.pdf" set grid set nokey set logscale y (2**0.2) set yrange [0.47:2.1]; set format y "" 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 set logscale y2 (2**0.2) set y2range [0.47:2.1]; set format y2 "" 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 # Draw fake x axis at y=1.0; use vertical-only bounding 'H' unset border set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2 set arrow 101 from graph 1, graph 0 to graph 1, graph 1 nohead lw 1 front set xrange [-0.75:16.5]; set xlabel "Size Zone; Prevalence" set xtics ( \ "" 0, \ "Small (/4)" 1, \ "" 2, \ "" 3, \ \ "" 6, \ "Medium (/4)" 7, \ "" 8, \ "" 9, \ \ "" 12, \ "Both (/8)" 13, \ "" 14, \ "" 15, \ ) scale 0 offset first 0.5,0 #set bmargin 0 set tmargin 0.1 set lmargin 0 set rmargin 0.1 barHtScale_fx = 0.30 set errorbars 0 linewidth 4 set pointintervalbox 0 plot INDIR."/plot-list-histo-rel-i-swift.det.dat" \ 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, \ '' 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, \ '' 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, \ '' 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, \ '' i 4 + 0 using ( 0 + 0 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "blue" lw 0.3, \ '' i 4 + 3 using ( 0 + 1 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \ '' i 4 + 2 using ( 0 + 2 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \ '' i 4 + 1 using ( 0 + 3 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "purple" lw 0.3, \ \ '' 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, \ '' 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, \ '' 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, \ '' 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, \ '' i 0 + 0 using ( 6 + 0 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "blue" lw 0.3, \ '' i 0 + 3 using ( 6 + 1 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \ '' i 0 + 2 using ( 6 + 2 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \ '' i 0 + 1 using ( 6 + 3 + 2* barHtScale_fx * $3):2 notitle with steps lc rgb "purple" lw 0.3, \ \ '' 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, \ '' 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, \ '' 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, \ '' 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, \ '' i 8 + 0 using (12 + 0 + barHtScale_fx * $3):2 notitle with steps lc rgb "blue" lw 0.3, \ '' i 8 + 3 using (12 + 1 + barHtScale_fx * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \ '' i 8 + 2 using (12 + 2 + barHtScale_fx * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \ '' i 8 + 1 using (12 + 3 + barHtScale_fx * $3):2 notitle with steps lc rgb "purple" lw 0.3, \ \ INDIR."/plot-list-histo-rel-i-swift.sum.dat" \ 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, \ '' 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, \ '' 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, \ '' 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, \ \ '' i 0 + 0 using ( 6 + 0):1:( 6 + 0):( 6 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \ '' i 0 + 3 using ( 6 + 1):1:( 6 + 1):( 6 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \ '' i 0 + 2 using ( 6 + 2):1:( 6 + 2):( 6 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \ '' i 0 + 1 using ( 6 + 3):1:( 6 + 3):( 6 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4, \ \ '' i 8 + 0 using (12 + 0):1:(12 + 0):(12 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \ '' i 8 + 3 using (12 + 1):1:(12 + 1):(12 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \ '' i 8 + 2 using (12 + 2):1:(12 + 2):(12 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \ '' i 8 + 1 using (12 + 3):1:(12 + 3):(12 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4