1 | set terminal pslatex size 4, 2.0 color solid 9;
|
---|
2 | #set terminal postscript portrait enhanced size 7.5, 10. color solid 9.5;
|
---|
3 | #set terminal wxt size 950,1250
|
---|
4 |
|
---|
5 | DIR=GRAPH
|
---|
6 | SCALE=1000000
|
---|
7 |
|
---|
8 | set macros
|
---|
9 | set output GRAPH.".larson.tex"
|
---|
10 | #set pointsize 2.0
|
---|
11 | set grid linetype 0
|
---|
12 | set xtics (4,8,16,32)
|
---|
13 | set format y "%4g"
|
---|
14 | set logscale x
|
---|
15 | #set logscale y
|
---|
16 | top=.9
|
---|
17 | set key at screen 1.3, screen top - .01
|
---|
18 | set ylabel sprintf( "Throughput, sec., $\\times$ %g", SCALE ) offset 2,0
|
---|
19 |
|
---|
20 | array titles[2];
|
---|
21 | titles[1] = "30 16 4096 8096 100 4141"
|
---|
22 | titles[2] = "5 8 1000 5000 100 4141"
|
---|
23 |
|
---|
24 | set multiplot layout 1,2 rowsfirst margins 0.2,top,0.03,top spacing 0.24,0.08
|
---|
25 | do for [x = 0:1] {
|
---|
26 | set title "args ". titles[x+1]
|
---|
27 | plot DIR."/larsondata" \
|
---|
28 | i x*7 using 1:($2/SCALE) title columnheader(1) lt rgb "blue" pt 2 ps 2 lw 1, \
|
---|
29 | '' i x*7+1 using 1:($2/SCALE) title columnheader(1) lt rgb "dark-green" pt 3 ps 2 lw 1, \
|
---|
30 | '' i x*7+2 using 1:($2/SCALE) title columnheader(1) lt rgb "coral" pt 14 ps 2 lw 4, \
|
---|
31 | '' i x*7+3 using 1:($2/SCALE) title columnheader(1) lt rgb "black" pt 16 ps 2 lw 2, \
|
---|
32 | '' i x*7+4 using 1:($2/SCALE) title columnheader(1) lt rgb "red" pt 8 ps 2 lw 2, \
|
---|
33 | '' i x*7+5 using 1:($2/SCALE) title columnheader(1) lt rgb "dark-violet" pt 10 ps 2 lw 1, \
|
---|
34 | '' i x*7+6 using 1:($2/SCALE) title columnheader(1) lt rgb "brown" pt 4 ps 2 lw 1
|
---|
35 | } # for
|
---|