| 1 | set terminal pdfcairo color enhanced size 6.5in,3.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-2ord.pdf"
|
|---|
| 11 |
|
|---|
| 12 | set lmargin 10
|
|---|
| 13 | set bmargin 5
|
|---|
| 14 | set tmargin 3.5
|
|---|
| 15 |
|
|---|
| 16 | set grid
|
|---|
| 17 |
|
|---|
| 18 | set logscale y (2**0.2)
|
|---|
| 19 | set yrange [0.65:1.65];
|
|---|
| 20 | set format y "%.1f {/Symbol \264}"
|
|---|
| 21 | set ytics (0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6)
|
|---|
| 22 | set ylabel "Speedup, bot. opt. {/Symbol \256} top opt." offset -0.5,0
|
|---|
| 23 |
|
|---|
| 24 | # Draw fake x axis at y=1.0; use vertical-only bounding 'H'
|
|---|
| 25 | unset border
|
|---|
| 26 | set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
|
|---|
| 27 | set arrow 100 from graph 0, graph 0 to graph 0, graph 1 nohead lw 1 front
|
|---|
| 28 | set arrow 101 from graph 1, graph 0 to graph 1, graph 1 nohead lw 1 front
|
|---|
| 29 |
|
|---|
| 30 | set xrange [-0.7:27.5];
|
|---|
| 31 | set xlabel "Criterion; top-bottom Options; Prevalence" offset 0,-1.5
|
|---|
| 32 | set format x ""
|
|---|
| 33 | set xtics ( \
|
|---|
| 34 | 0, 1, 2, 3, \
|
|---|
| 35 | 5, 6, 7, 8, \
|
|---|
| 36 | 10, 11, 12, \
|
|---|
| 37 | 14, 15, 16, \
|
|---|
| 38 | 18, 19, 20, 21, \
|
|---|
| 39 | 23, 24, 25, 26 \
|
|---|
| 40 | ) scale 0
|
|---|
| 41 |
|
|---|
| 42 | set label "small" at first 1.5, graph 1.05 center
|
|---|
| 43 | set label "(AMD)" at first 1.5, graph 0.06 center font "Times-Bold,18" front
|
|---|
| 44 | set label "medium" at first 1.5, graph -0.05 center
|
|---|
| 45 | set label "small" at first 6.5, graph 1.05 center
|
|---|
| 46 | set label "(Intel)" at first 6.5, graph 0.06 center font "Times-Bold,18" front
|
|---|
| 47 | set label "medium" at first 6.5, graph -0.05 center
|
|---|
| 48 | set label "Size Zone" at first 4 , graph -0.14 center
|
|---|
| 49 |
|
|---|
| 50 | set label "stack" at first 11 , graph 1.05 center
|
|---|
| 51 | set label "queue" at first 11 , graph -0.05 center
|
|---|
| 52 | set label "Movement" at first 11 , graph -0.14 center
|
|---|
| 53 |
|
|---|
| 54 | set label "ins. first" at first 15 , graph 1.05 center
|
|---|
| 55 | set label "ins. last" at first 15 , graph -0.05 center
|
|---|
| 56 | set label "Polarity" at first 15 , graph -0.14 center
|
|---|
| 57 |
|
|---|
| 58 | set label "all head" at first 19.5, graph 1.05 center
|
|---|
| 59 | set label "ins. elem." at first 19.5, graph -0.05 center
|
|---|
| 60 | set label "all head" at first 24.5, graph 1.05 center
|
|---|
| 61 | set label "rem. elem." at first 24.5, graph -0.05 center
|
|---|
| 62 | set label "Accessor" at first 22 , graph -0.14 center
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | # group size zone
|
|---|
| 66 | set arrow 10+.4 from 0-.4, graph -0.10 to 8+.4, graph -0.10 nohead lw 1
|
|---|
| 67 | set arrow 11+.4 from 0-.4, graph -0.10 to 0-.4, graph -0.08 nohead lw 1
|
|---|
| 68 | set arrow 12+.4 from 8+.4, graph -0.10 to 8+.4, graph -0.08 nohead lw 1
|
|---|
| 69 |
|
|---|
| 70 | # group movement
|
|---|
| 71 | set arrow 13+.4 from 10-.4, graph -0.10 to 12+.4, graph -0.10 nohead lw 1
|
|---|
| 72 | set arrow 14+.4 from 10-.4, graph -0.10 to 10-.4, graph -0.08 nohead lw 1
|
|---|
| 73 | set arrow 15+.4 from 12+.4, graph -0.10 to 12+.4, graph -0.08 nohead lw 1
|
|---|
| 74 |
|
|---|
| 75 | # group polarity
|
|---|
| 76 | set arrow 16+.4 from 14-.4, graph -0.10 to 16+.4, graph -0.10 nohead lw 1
|
|---|
| 77 | set arrow 17+.4 from 14-.4, graph -0.10 to 14-.4, graph -0.08 nohead lw 1
|
|---|
| 78 | set arrow 18+.4 from 16+.4, graph -0.10 to 16+.4, graph -0.08 nohead lw 1
|
|---|
| 79 |
|
|---|
| 80 | # group accessor
|
|---|
| 81 | set arrow 19+.4 from 18-.4, graph -0.10 to 26+.4, graph -0.10 nohead lw 1
|
|---|
| 82 | set arrow 20+.4 from 18-.4, graph -0.10 to 18-.4, graph -0.08 nohead lw 1
|
|---|
| 83 | set arrow 21+.4 from 26+.4, graph -0.10 to 26+.4, graph -0.08 nohead lw 1
|
|---|
| 84 |
|
|---|
| 85 | # legend, augmented
|
|---|
| 86 | set key outside top center horizontal maxrows 1 samplen 2 width +1 # offset -10,0
|
|---|
| 87 | set object 2 rect from first 3.20, screen 0.93 to first 4.85, screen 0.99 fc rgb "blue" fs transparent solid 0.20 border lc rgb "blue" lw 0.3
|
|---|
| 88 | set object 3 rect from first 8.80, screen 0.93 to first 10.45, screen 0.99 fc rgb "dark-orange" fs transparent solid 0.25 border lc rgb "dark-orange" lw 0.3
|
|---|
| 89 | set object 4 rect from first 14.40, screen 0.93 to first 16.05, screen 0.99 fc rgb "magenta" fs transparent solid 0.20 border lc rgb "magenta" lw 0.3
|
|---|
| 90 | set object 5 rect from first 19.98, screen 0.93 to first 21.63, screen 0.99 fc rgb "dark-violet" fs transparent solid 0.25 border lc rgb "dark-violet" lw 0.3
|
|---|
| 91 | # word "mean" is title of a data series plotted froom $Singleton
|
|---|
| 92 | set arrow 99 from first 20.8, screen 0.96 to first 23, screen 0.96 nohead lw 1 dt 2
|
|---|
| 93 |
|
|---|
| 94 | set errorbars 2.0
|
|---|
| 95 | set pointintervalbox 0
|
|---|
| 96 |
|
|---|
| 97 | # One row, to plot one-off points
|
|---|
| 98 | $Singleton <<EOD
|
|---|
| 99 | 0
|
|---|
| 100 | EOD
|
|---|
| 101 |
|
|---|
| 102 |
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 | # show colornames
|
|---|
| 106 | # blue #0000ff = 0 0 255
|
|---|
| 107 | # dark-orange #c04000 = 192 64 0
|
|---|
| 108 | # magenta #ff00ff = 255 0 255
|
|---|
| 109 | # purple #c080ff = 192 128 255
|
|---|
| 110 |
|
|---|
| 111 |
|
|---|
| 112 |
|
|---|
| 113 |
|
|---|
| 114 |
|
|---|
| 115 | set errorbars 0 linewidth 4
|
|---|
| 116 |
|
|---|
| 117 |
|
|---|
| 118 | barHtScale = 0.048
|
|---|
| 119 |
|
|---|
| 120 | plot \
|
|---|
| 121 | INDIR."/plot-list-2ord.det.dat" \
|
|---|
| 122 | i ( 0 + 0) using (0):(0):( 0 + 0):( 0 + 0 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.20 noborder, \
|
|---|
| 123 | '' i ( 0 + 3) using (0):(0):( 0 + 1):( 0 + 1 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.25 noborder, \
|
|---|
| 124 | '' i ( 0 + 2) using (0):(0):( 0 + 2):( 0 + 2 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.20 noborder, \
|
|---|
| 125 | '' i ( 0 + 1) using (0):(0):( 0 + 3):( 0 + 3 + 3.5 * barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-violet" fs transparent solid 0.25 noborder, \
|
|---|
| 126 | '' i ( 0 + 0) using ( 0 + 0 + barHtScale * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 127 | '' i ( 0 + 3) using ( 0 + 1 + barHtScale * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 128 | '' i ( 0 + 2) using ( 0 + 2 + barHtScale * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 129 | '' i ( 0 + 1) using ( 0 + 3 + 3.5 * barHtScale * $3):2 notitle with steps lc rgb "dark-violet" lw 0.3, \
|
|---|
| 130 | \
|
|---|
| 131 | '' i ( 4 + 0) using (0):(0):( 5 + 0):( 5 + 0 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.20 noborder, \
|
|---|
| 132 | '' i ( 4 + 3) using (0):(0):( 5 + 1):( 5 + 1 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.25 noborder, \
|
|---|
| 133 | '' i ( 4 + 2) using (0):(0):( 5 + 2):( 5 + 2 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.20 noborder, \
|
|---|
| 134 | '' i ( 4 + 1) using (0):(0):( 5 + 3):( 5 + 3 + 3.5 * barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-violet" fs transparent solid 0.25 noborder, \
|
|---|
| 135 | '' i ( 4 + 0) using ( 5 + 0 + barHtScale * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 136 | '' i ( 4 + 3) using ( 5 + 1 + barHtScale * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 137 | '' i ( 4 + 2) using ( 5 + 2 + barHtScale * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 138 | '' i ( 4 + 1) using ( 5 + 3 + 3.5 * barHtScale * $3):2 notitle with steps lc rgb "dark-violet" lw 0.3, \
|
|---|
| 139 | \
|
|---|
| 140 | '' i ( 8 + 0) using (0):(0):(10 + 0):(10 + 0 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.20 noborder, \
|
|---|
| 141 | '' i ( 8 + 2) using (0):(0):(10 + 1):(10 + 1 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.25 noborder, \
|
|---|
| 142 | '' i ( 8 + 1) using (0):(0):(10 + 2):(10 + 2 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.20 noborder, \
|
|---|
| 143 | '' i ( 8 + 0) using (10 + 0 + barHtScale * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 144 | '' i ( 8 + 2) using (10 + 1 + barHtScale * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 145 | '' i ( 8 + 1) using (10 + 2 + barHtScale * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 146 | \
|
|---|
| 147 | '' i (11 + 0) using (0):(0):(14 + 0):(14 + 0 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.20 noborder, \
|
|---|
| 148 | '' i (11 + 2) using (0):(0):(14 + 1):(14 + 1 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.25 noborder, \
|
|---|
| 149 | '' i (11 + 1) using (0):(0):(14 + 2):(14 + 2 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.20 noborder, \
|
|---|
| 150 | '' i (11 + 0) using (14 + 0 + barHtScale * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 151 | '' i (11 + 2) using (14 + 1 + barHtScale * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 152 | '' i (11 + 1) using (14 + 2 + barHtScale * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 153 | \
|
|---|
| 154 | '' i (14 + 0) using (0):(0):(18 + 0):(18 + 0 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.20 noborder, \
|
|---|
| 155 | '' i (14 + 3) using (0):(0):(18 + 1):(18 + 1 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.25 noborder, \
|
|---|
| 156 | '' i (14 + 2) using (0):(0):(18 + 2):(18 + 2 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.20 noborder, \
|
|---|
| 157 | '' i (14 + 1) using (0):(0):(18 + 3):(18 + 3 + 3.5 * barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-violet" fs transparent solid 0.25 noborder, \
|
|---|
| 158 | '' i (14 + 0) using (18 + 0 + barHtScale * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 159 | '' i (14 + 3) using (18 + 1 + barHtScale * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 160 | '' i (14 + 2) using (18 + 2 + barHtScale * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 161 | '' i (14 + 1) using (18 + 3 + 3.5 * barHtScale * $3):2 notitle with steps lc rgb "dark-violet" lw 0.3, \
|
|---|
| 162 | \
|
|---|
| 163 | '' i (18 + 0) using (0):(0):(23 + 0):(23 + 0 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "blue" fs transparent solid 0.20 noborder, \
|
|---|
| 164 | '' i (18 + 3) using (0):(0):(23 + 1):(23 + 1 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-orange" fs transparent solid 0.25 noborder, \
|
|---|
| 165 | '' i (18 + 2) using (0):(0):(23 + 2):(23 + 2 + barHtScale * $3):1:2 notitle with boxxyerror fc rgb "magenta" fs transparent solid 0.20 noborder, \
|
|---|
| 166 | '' i (18 + 1) using (0):(0):(23 + 3):(23 + 3 + 3.5 * barHtScale * $3):1:2 notitle with boxxyerror fc rgb "dark-violet" fs transparent solid 0.25 noborder, \
|
|---|
| 167 | '' i (18 + 0) using (23 + 0 + barHtScale * $3):2 notitle with steps lc rgb "blue" lw 0.3, \
|
|---|
| 168 | '' i (18 + 3) using (23 + 1 + barHtScale * $3):2 notitle with steps lc rgb "dark-orange" lw 0.3, \
|
|---|
| 169 | '' i (18 + 2) using (23 + 2 + barHtScale * $3):2 notitle with steps lc rgb "magenta" lw 0.3, \
|
|---|
| 170 | '' i (18 + 1) using (23 + 3 + 3.5 * barHtScale * $3):2 notitle with steps lc rgb "dark-violet" lw 0.3, \
|
|---|
| 171 | \
|
|---|
| 172 | INDIR."/plot-list-2ord.sum.dat" \
|
|---|
| 173 | i ( 0 + 0) using ( 0 + 0 ):1 title "{/Helvetica=15 C{/Symbol \42}}" with points lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 174 | '' i ( 0 + 3) using ( 0 + 1 ):1 title "{/Symbol \155}C++" with points lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 175 | '' i ( 0 + 2) using ( 0 + 2 ):1 title "LQ-tailq" with points lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 176 | '' i ( 0 + 1) using ( 0 + 3 ):1 title "LQ-list" with points lc rgb "dark-violet" pt 13 ps 1.4, \
|
|---|
| 177 | '' i ( 0 + 0) using ( 0 + 0):1:( 0 + 0):( 0 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 0, \
|
|---|
| 178 | '' i ( 0 + 3) using ( 0 + 1):1:( 0 + 1):( 0 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 0, \
|
|---|
| 179 | '' i ( 0 + 2) using ( 0 + 2):1:( 0 + 2):( 0 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 0, \
|
|---|
| 180 | '' i ( 0 + 1) using ( 0 + 3):1:( 0 + 3):( 0 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 0, \
|
|---|
| 181 | \
|
|---|
| 182 | '' i ( 4 + 0) using ( 5 + 0):1:( 5 + 0):( 5 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 183 | '' i ( 4 + 3) using ( 5 + 1):1:( 5 + 1):( 5 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 184 | '' i ( 4 + 2) using ( 5 + 2):1:( 5 + 2):( 5 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 185 | '' i ( 4 + 1) using ( 5 + 3):1:( 5 + 3):( 5 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4, \
|
|---|
| 186 | \
|
|---|
| 187 | '' i ( 8 + 0) using (10 + 0):1:(10 + 0):(10 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 188 | '' i ( 8 + 2) using (10 + 1):1:(10 + 1):(10 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 189 | '' i ( 8 + 1) using (10 + 2):1:(10 + 2):(10 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 190 | \
|
|---|
| 191 | '' i (11 + 0) using (14 + 0):1:(14 + 0):(14 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 192 | '' i (11 + 2) using (14 + 1):1:(14 + 1):(14 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 193 | '' i (11 + 1) using (14 + 2):1:(14 + 2):(14 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 194 | \
|
|---|
| 195 | '' i (14 + 0) using (18 + 0):1:(18 + 0):(18 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 196 | '' i (14 + 3) using (18 + 1):1:(18 + 1):(18 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 197 | '' i (14 + 2) using (18 + 2):1:(18 + 2):(18 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 198 | '' i (14 + 1) using (18 + 3):1:(18 + 3):(18 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4, \
|
|---|
| 199 | \
|
|---|
| 200 | '' i (18 + 0) using (23 + 0):1:(23 + 0):(23 + 0 + .8) notitle with xerrorbars lc rgb "blue" pt 7 ps 1.0, \
|
|---|
| 201 | '' i (18 + 3) using (23 + 1):1:(23 + 1):(23 + 1 + .8) notitle with xerrorbars lc rgb "dark-orange" pt 9 ps 1.2, \
|
|---|
| 202 | '' i (18 + 2) using (23 + 2):1:(23 + 2):(23 + 2 + .8) notitle with xerrorbars lc rgb "magenta" pt 11 ps 1.2, \
|
|---|
| 203 | '' i (18 + 1) using (23 + 3):1:(23 + 3):(23 + 3 + .8) notitle with xerrorbars lc rgb "dark-violet" pt 13 ps 1.4, \
|
|---|
| 204 | \
|
|---|
| 205 | $Singleton using (0):(0.1):("This text is placed offscrean-low") title "↕ mean" with labels
|
|---|