Ignore:
Timestamp:
Apr 24, 2026, 1:27:24 PM (5 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
8501107
Parents:
534188b
Message:

revisions to ll perf intro and graph formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-abs-i-swift.gp

    r534188b rbf73608  
    1 set terminal pdfcairo color enhanced size 3.625in,2.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.4375in,2.5in font "Times,17"
    22
    33set size 1.0, 1.0    # scale of plot area inside terminal
     
    1010set output OUTDIR."/plot-list-zoomin-abs-i-swift.pdf"
    1111
    12 set lmargin 10
     12set lmargin screen (0.5/3.4375) # half inch
    1313
    1414set grid
    15 unset key
    16 set logscale x 2
     15set key bottom right
     16
    1717set logscale y
    1818set yrange [1:15];
    19 set ytics (1,2,3,4,5,6,7,8,10,12,14)
     19set ytics (1,2,3,4,5,6,7,8,10,12,14) nomirror
     20set ylabel "Duration (ns)"
     21
     22set logscale x 2
    2023set xrange [0.75:180];
    21 # set xlabel "List length (item count)" offset 2,0
    22 set format x ""
    23 set ylabel "Duration (ns)" offset -3.0,0
     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
    2447set errorbars 2.0
    2548set pointintervalbox 0
    2649
    2750plot INDIR."/plot-list-zoomin-abs-i-swift.dat" \
    28        i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue"        pt  6  ps 0.85 lw 1, \
    29     '' 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, \
    30     '' i 3 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta"             pt  10 ps 0.85 lw 1, \
    31     '' i 2 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple"              pt  12 ps 1.0  lw 1
     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 TracChangeset for help on using the changeset viewer.