source: doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-remelem.gp@ e50b65c

stuck-waitfor-destruct
Last change on this file since e50b65c was e57a405, checked in by Peter A. Buhr <pabuhr@…>, 9 months ago

update graph appearance

  • Property mode set to 100644
File size: 3.6 KB
Line 
1
2#
3# Save in UTF-8 encoding.
4#
5
6
7set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
8
9INDIR="build"
10OUTDIR="build"
11SRCDIR="plots"
12
13set output OUTDIR.'/plot-list-cfa-attrib-remelem.pdf'
14
15set bmargin 6 # extra room at bottom for multiline x axis labels
16
17set xrange [1:6]
18set xlabel "Operation (movement / polarity / accessor)" offset 0,-2,0
19set xtics offset 4.2,0
20
21set logscale y 2
22set yrange [0.88:2.1];
23set ytics ( \
24 "+50%%" 2, \
25 "+40%%" 1.666666667, \
26 "+30%%" 1.428571429, \
27 "+20%%" 1.25, \
28 "+10%%" 1.111111111, \
29 "0" 1, \
30 "-10%%" 0.909090909, \
31 "-20%%" 0.833333333, \
32 "-30%%" 0.769230769, \
33)
34set ylabel "Duration (tailq-Relative)" offset -1.0,0
35
36# Draw axis-like line at speedup=0% (y=1.0)
37set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
38
39set grid
40set key top center horizontal
41
42BOXSPACING=0.14
43BOXWIDTH=BOXSPACING * .88
44set boxwidth BOXWIDTH absolute
45
46NUM_FXS=6
47
48offset(opNum, fxNum) = opNum + fxNum * BOXSPACING - (NUM_FXS+1) * BOXSPACING / 2 + 0.5
49
50# One row, to plot one-off points
51$Singleton <<EOD
520
53EOD
54
55# empty candlesticks for quantiles, then
56# varyiously styled points for means, then
57# x axis values, then
58# legend symbol augmentation
59plot INDIR.'/plot-list-cfa-attrib-remelem.dat' \
60 using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'full' with candlesticks lt rgb "blue", \
61 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'mand-head' with candlesticks lt rgb "dark-goldenrod", \
62 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'no-listed' with candlesticks lt rgb "dark-salmon", \
63 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'parity' with candlesticks lt rgb "gray40", \
64 '' using ($2 == 5 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'no-iter' with candlesticks lt rgb "dark-turquoise", \
65 '' using ($2 == 6 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'strip' with candlesticks lt rgb "red", \
66 '' using ($2 == 1 ? (offset($1, $2)) : 1/0):4 notitle with points pt 7 lt rgb "blue", \
67 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):4:("◐") notitle with labels textcolor rgb "dark-goldenrod" font "DejaVuSans-Bold,14", \
68 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):4:("◑") notitle with labels textcolor rgb "dark-salmon" font "DejaVuSans-Bold,14", \
69 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):4 notitle with points pt 6 lt rgb "gray40", \
70 '' using ($2 == 5 ? (offset($1, $2)) : 1/0):4 notitle with points pt 3 lt rgb "dark-turquoise", \
71 '' using ($2 == 6 ? (offset($1, $2)) : 1/0):4 notitle with points pt 15 lt rgb "red", \
72 SRCDIR.'/list-cfa-attrib-remelem-meta.dat' \
73 using 1:(-999):xtic(2) notitle with points, \
74 $Singleton using (2.7 ):(1.99) notitle with points pt 7 lt rgb "blue", \
75 $Singleton using (2.7 ):(1.83):("◐") notitle with labels textcolor rgb "dark-goldenrod" font "DejaVuSans-Bold,14", \
76 $Singleton using (3.85):(1.99):("◑") notitle with labels textcolor rgb "dark-salmon" font "DejaVuSans-Bold,14", \
77 $Singleton using (3.85):(1.83) notitle with points pt 6 lt rgb "gray40", \
78 $Singleton using (5.1 ):(1.99) notitle with points pt 3 lt rgb "dark-turquoise", \
79 $Singleton using (5.1 ):(1.83) notitle with points pt 15 lt rgb "red"
Note: See TracBrowser for help on using the repository browser.