source: doc/theses/mike_brooks_MMath/plots/list-cmp-survey-java.gp

stuck-waitfor-destruct
Last change on this file was 8eb85de, checked in by Michael Brooks <mlbrooks@…>, 6 days ago

Add data for Intel host 'java', alongside incumbent AMD host 'swift'.

Revise analysis--presentation to show both side by side. Remove presentation of CFA Attribution, which is now seen to be chasing a red herring.

Data continue to be from harness of commit 78bc398830.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1set terminal pdfcairo color enhanced size 3.0in,3.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
6INDIR="build"
7OUTDIR="build"
8SRCDIR="plots"
9
10set output OUTDIR.'/plot-list-cmp-survey-java.pdf'
11
12set bmargin 6 # extra room at bottom for multiline x axis labels
13
14set xrange [1:9]
15set xlabel "Operation (movement / polarity / accessor)" offset 0,-2,0
16set xtics offset 2.1,0
17
18set logscale y 2
19set yrange [0.3:2.0];
20set ytics ( \
21 "" 1.666666667, \
22 "" 1.25, \
23 "" 1, \
24 "" 0.833333333, \
25 "" 0.625, \
26 "" 0.5, \
27 "" 0.333333333 \
28)
29unset ylabel
30
31# Draw axis-like line at speedup=0% (y=1.0)
32set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
33
34set grid
35set key top center horizontal
36
37BOXSPACING=0.25
38BOXWIDTH=BOXSPACING * .88
39set boxwidth BOXWIDTH absolute
40
41NUM_FXS=3
42
43offset(opNum, fxNum) = opNum + fxNum * BOXSPACING - (NUM_FXS+1) * BOXSPACING / 2 + 0.5
44
45# One row, to plot one-off points
46$Singleton <<EOD
470
48EOD
49
50# empty candlesticks for quantiles, then
51# varyiously styled points for means, then
52# x axis values, then
53# legend symbol augmentation
54plot INDIR.'/plot-list-cmp-survey-java.dat' \
55 using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'cfa-cfa' with candlesticks lt rgb "blue" , \
56 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'upp-upp' with candlesticks lt rgb "dark-orange", \
57 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'lq-list' with candlesticks lt rgb "purple" , \
58 '' using ($2 == 1 ? (offset($1, $2)) : 1/0):4 notitle with points pt 7 lt rgb "blue" , \
59 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):4 notitle with points pt 9 lt rgb "dark-orange", \
60 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):4 notitle with points pt 13 lt rgb "purple" , \
61 SRCDIR.'/list-cmp-survey-meta.dat' \
62 using 1:(-999):xtic(2) notitle with points, \
63 $Singleton using (3.73):(7.50) notitle with points pt 7 lt rgb "blue" , \
64 $Singleton using (5.44):(7.50) notitle with points pt 9 lt rgb "dark-orange", \
65 $Singleton using (7.14):(7.50) notitle with points pt 13 lt rgb "purple"
Note: See TracBrowser for help on using the repository browser.