source: doc/theses/mike_brooks_MMath/plots/list-legend-rel-i-swift.gp

Last change on this file was bf73608, checked in by Michael Brooks <mlbrooks@…>, 7 days ago

revisions to ll perf intro and graph formatting

  • Property mode set to 100644
File size: 3.0 KB
Line 
1set terminal pdfcairo color enhanced size 6.5in,2.0in font "Times,17"
2
3set size 1.0, 1.0 # scale of plot area inside terminal
4set origin 0.0, 0.0 # bottom-left corner
5
6INDIR="build"
7OUTDIR="build"
8
9set macros
10set output OUTDIR."/plot-list-legend-rel-i-swift.pdf"
11
12set grid
13set nokey
14
15set logscale y (2**0.2)
16set yrange [0.47:2.1];
17set format y ""
18set 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
20set logscale y2 (2**0.2)
21set y2range [0.47:2.1];
22set format y2 ""
23set 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'
26unset border
27set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
28set arrow 101 from graph 1, graph 0 to graph 1, graph 1 nohead lw 1 front
29
30set xrange [-0.75:16.5];
31set xlabel "Size Zone; Prevalence"
32set 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
51set lmargin 0
52set rmargin 0.1
53
54barHtScale_fx = 0.30
55
56
57#---------------------
58
59# legend, augmented
60set key outside top center horizontal maxrows 1 samplen 2 width +1 # offset -10,0
61set object 2 rect from first 2.62, screen 0.882 to first 3.42, screen 0.972 fc rgb "blue" fs transparent solid 0.20 border lc rgb "blue" lw 0.3
62set object 3 rect from first 5.5, screen 0.882 to first 6.3 , screen 0.972 fc rgb "dark-orange" fs transparent solid 0.25 border lc rgb "dark-orange" lw 0.3
63set object 4 rect from first 8.4, screen 0.882 to first 9.2 , screen 0.972 fc rgb "magenta" fs transparent solid 0.20 border lc rgb "magenta" lw 0.3
64set object 5 rect from first 11.3, screen 0.882 to first 12.1 , screen 0.972 fc rgb "dark-violet" fs transparent solid 0.25 border lc rgb "dark-violet" lw 0.3
65# word "mean" is title of a data series plotted froom $Singleton
66set arrow 99 from first 12.2, screen 0.925 to first 12.8, screen 0.925 nohead lw 1 dt 2
67#---------------------
68
69set errorbars 0 linewidth 4
70set pointintervalbox 0
71
72# One row, to plot one-off points
73$Singleton <<EOD
740
75EOD
76
77
78plot INDIR."/plot-list-histo-rel-i-swift.sum.dat" \
79 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, \
80 '' 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, \
81 '' 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, \
82 '' 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, \
83 $Singleton \
84 using (0):(0.1):("This text is placed offscrean-low") title "↕ mean" with labels, \
85
Note: See TracBrowser for help on using the repository browser.