source: doc/theses/mike_brooks_MMath/plots/list-zoomin-abs-i-swift.gp@ 810c2c5

Last change on this file since 810c2c5 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: 2.0 KB
Line 
1set terminal pdfcairo color enhanced size 3.4375in,2.5in 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-abs-i-swift.pdf"
11
12set lmargin screen (0.5/3.4375) # half inch
13
14set grid
15set key bottom right
16
17set logscale y
18set yrange [1:15];
19set ytics (1,2,3,4,5,6,7,8,10,12,14) nomirror
20set ylabel "Duration (ns)"
21
22set logscale x 2
23set xrange [0.75:180];
24set xlabel "List length (item count)"
25# set format x ""
26
27# "drop" page-centre side of bounding box (drop whole box, re-draw desired three)
28unset border
29set arrow from graph 0, graph 0 to graph 0, graph 1 nohead lw 1 front # left
30set arrow from graph 0, graph 1 to graph 1, graph 1 nohead lw 1 front # top
31set arrow from graph 0, graph 0 to graph 1, graph 0 nohead lw 1 front # bot
32
33# labelled boxes around size zones
34set object rect from first 6, first 2.5 to first 23, first 10 fc rgb "black" fs empty lw 2.0
35set object rect from first 45, first 3.5 to graph 0.99, first 12 fc rgb "black" fs empty lw 2.0
36set label "small" at first 23, first (2.5 * 0.9) right
37set label "medium" at graph 0.99, first (3.5 * 0.9) right
38
39
40#set bmargin 0
41set tmargin 0.1
42#set lmargin 0
43set rmargin 0.1
44
45set label "{/Times-Bold= Use Case I,}\n{/Times-Bold= AMD}" at first 1, graph 0.9 left
46
47set errorbars 2.0
48set pointintervalbox 0
49
50plot INDIR."/plot-list-zoomin-abs-i-swift.dat" \
51 i 0 using ($1 * 0.98):8:4:5 notitle with yerrorbars lt rgb "blue" pt 6 ps 0.85 lw 1, \
52 '' i 4 using ($1 * 0.94):8:4:5 notitle with yerrorbars lt rgb "dark-orange" pt 8 ps 0.75 lw 1, \
53 '' i 3 using ($1 * 1.02):8:4:5 notitle with yerrorbars lt rgb "magenta" pt 10 ps 0.85 lw 1, \
54 '' i 2 using ($1 * 1.06):8:4:5 title "LQ {/Helvetica=15 list}" with yerrorbars lt rgb "purple" pt 12 ps 1.0 lw 1
Note: See TracBrowser for help on using the repository browser.