| 1 | set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
|
|---|
| 2 | #set terminal postscript portrait enhanced size 7.5, 10. color solid 9.5;
|
|---|
| 3 | #set terminal wxt size 950,1250
|
|---|
| 4 |
|
|---|
| 5 | INDIR="detail-plots/"
|
|---|
| 6 | OUTDIR=INDIR
|
|---|
| 7 | FILEPAT='*.dat'
|
|---|
| 8 | FILES = system(sprintf('ls %s%s',INDIR,FILEPAT))
|
|---|
| 9 |
|
|---|
| 10 | set macros
|
|---|
| 11 | set output OUTDIR."out.pdf"
|
|---|
| 12 | #set pointsize 2.0
|
|---|
| 13 | set grid
|
|---|
| 14 | set key bottom right
|
|---|
| 15 | set logscale x 2
|
|---|
| 16 | set logscale y
|
|---|
| 17 | set yrange [1:20];
|
|---|
| 18 | set xlabel "List length (item count)" offset 2,0
|
|---|
| 19 | set ylabel "Operation duration (ns)"
|
|---|
| 20 | set linetype 3 dashtype 2
|
|---|
| 21 | set linetype 4 dashtype 2
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | myInput(s) = sprintf('%s%s',DIR,s)
|
|---|
| 25 |
|
|---|
| 26 | do for [FILE in FILES] {
|
|---|
| 27 |
|
|---|
| 28 | set title FILE
|
|---|
| 29 |
|
|---|
| 30 | # plot FILE \
|
|---|
| 31 | # i 0 using 1:2:3 title columnheader(1) with yerrorbars lt rgb "blue" pt 2 ps 1 lw 1, \
|
|---|
| 32 | # '' i 1 using 1:2:3 title columnheader(1) with yerrorbars lt rgb "red" pt 3 ps 1 lw 1, \
|
|---|
| 33 | # '' i 2 using 1:2:3 title columnheader(1) with yerrorbars lt rgb "green" pt 6 ps 1 lw 1, \
|
|---|
| 34 | # '' i 3 using 1:2:3 title columnheader(1) with yerrorbars lt rgb "black" pt 8 ps 1 lw 1, \
|
|---|
| 35 | # '' i 4 using 1:2:3 title columnheader(1) with yerrorbars lt rgb "brown" pt 10 ps 1 lw 1
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | # plot FILE \
|
|---|
| 39 | # i 0 using 1:2 title columnheader(1) with points lt rgb "blue" pt 1 ps 1 lw 1, \
|
|---|
| 40 | # '' i 1 using 1:2 title columnheader(1) with points lt rgb "purple" pt 1 ps 1 lw 1, \
|
|---|
| 41 | # '' i 2 using 1:2 title columnheader(1) with points lt rgb "magenta" pt 1 ps 1 lw 1
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | plot FILE \
|
|---|
| 45 | i 0 using 1:2 title columnheader(1) with points lt rgb "blue" pt 1 ps 1 lw 1, \
|
|---|
| 46 | '' i 7 using 1:2 title columnheader(1) with points lt rgb "purple" pt 1 ps 1 lw 1, \
|
|---|
| 47 | '' i 8 using 1:2 title columnheader(1) with points lt rgb "magenta" pt 1 ps 1 lw 1, \
|
|---|
| 48 | '' i 9 using 1:2 title columnheader(1) with points lt rgb "brown" pt 1 ps 1 lw 1
|
|---|
| 49 |
|
|---|
| 50 | # '' i 1 using 1:2 title columnheader(1) with points lt rgb "red" pt 1 ps 1 lw 1, \
|
|---|
| 51 | # '' i 2 using 1:2 title columnheader(1) with points lt rgb "green" pt 1 ps 1 lw 1, \
|
|---|
| 52 | # '' i 3 using 1:2 title columnheader(1) with points lt rgb "black" pt 1 ps 1 lw 1, \
|
|---|
| 53 | # '' i 4 using 1:2 title columnheader(1) with points lt rgb "orange" pt 1 ps 1 lw 1, \
|
|---|
| 54 | # '' i 5 using 1:2 title columnheader(1) with points lt rgb "cyan" pt 1 ps 1 lw 1, \
|
|---|
| 55 | # '' i 6 using 1:2 title columnheader(1) with points lt rgb "gray" pt 1 ps 1 lw 1, \
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 | }
|
|---|