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

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

revisions to ll perf intro and graph formatting

  • Property mode set to 100644
File size: 1.8 KB
Line 
1set terminal pdfcairo color enhanced size 2.75in,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-zoomin-rel-i-swift.pdf"
11
12# Draw fake x axis at y=1.0; use vertical-only bounding 'H'
13unset border
14set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
15set arrow 100 from graph 0, graph 0 to graph 0, graph 1 nohead lw 1 front
16
17set grid
18unset key
19
20set logscale x 2
21set xrange [0.75:250];
22set xlabel "List length (item count)"
23
24
25#set bmargin 0
26set tmargin 0.1
27set lmargin 10
28set rmargin 0.1
29
30set ylabel "Duration (relative)" offset -1.0,0
31set logscale y (2**0.2)
32set yrange [0.47:2.1];
33set format y "%.1f {/Symbol \264}"
34set ytics (0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0) nomirror
35
36# labelled boxes around size zones
37set object rect from first 6, first 0.6 to first 23, first 2.0 fc rgb "black" fs empty lw 2.0
38set object rect from first 45, first 0.6 to first 181, first 1.8 fc rgb "black" fs empty lw 2.0
39set label "small" at first 23, first (0.6 * 0.9) right
40set label "medium" at first 181, first (0.6 * 0.9) right
41
42set errorbars 2.0
43set pointintervalbox 0
44
45plot INDIR."/plot-list-zoomin-rel-i-swift.dat" \
46 i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue" pt 6 ps 0.85 lw 1, \
47 '' i 4 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange" pt 8 ps 0.75 lw 1, \
48 '' i 3 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta" pt 10 ps 0.85 lw 1, \
49 '' i 2 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple" pt 12 ps 1.0 lw 1
Note: See TracBrowser for help on using the repository browser.