-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfigure13_script.gnuplot
More file actions
73 lines (61 loc) · 2.41 KB
/
figure13_script.gnuplot
File metadata and controls
73 lines (61 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
set datafile separator ","
set logscale x
set key autotitle columnhead
set output 'output.png'
set term pngcairo size 2000, 800
set xlabel "# entries"
set size 1.5,1.5
set multiplot layout 2,4 rowsfirst
cd 'exp1'
set size 0.25,0.5
set origin 0,0.5
#set label 1 'a' at graph 0.92,0.9 font ',8'
set ylabel "avg. query latency (us)"
set key left top
plot 'read_speed.csv' using 1:($3/1000) with lines, 'read_speed.csv' using 1:($4/1000) with lines, 'read_speed.csv' using 1:($5/1000) with lines
set size 0.25,0.5
set origin 0.25,0.5
set logscale y
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "false positive rate"
plot 'false_positive_rate.csv' using 1:3 with lines, 'false_positive_rate.csv' using 1:4 with lines, 'false_positive_rate.csv' using 1:5 with lines
unset logscale y
set size 0.25,0.5
set origin 0.50,0.5
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "bits / entry"
set key left bottom
plot 'memory.csv' using 1:3 with lines, 'memory.csv' using 1:4 with lines, 'memory.csv' using 1:5 with lines
set size 0.25,0.5
set origin 0.75,0.5
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "avg. insert latency (us)"
set key right top
plot 'writes_speed.csv' using 1:($3/1000) with lines, 'writes_speed.csv' using 1:($4/1000) with lines, 'writes_speed.csv' using 1:($5/1000) with lines
cd '../exp2'
set size 0.25,0.5
set origin 0,0.0
#set label 1 'a' at graph 0.92,0.9 font ',8'
set ylabel "avg. query latency (us)"
set key left top
plot 'read_speed.csv' using 1:($3/1000) with lines, 'read_speed.csv' using 1:($4/1000) with lines, 'read_speed.csv' using 1:($5/1000) with lines
set size 0.25,0.5
set origin 0.25,0
set logscale y
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "false positive rate"
plot 'false_positive_rate.csv' using 1:3 with lines, 'false_positive_rate.csv' using 1:4 with lines, 'false_positive_rate.csv' using 1:5 with lines
unset logscale y
set size 0.25,0.5
set origin 0.50,0
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "bits / entry"
set key left bottom
plot 'memory.csv' using 1:3 with lines, 'memory.csv' using 1:4 with lines, 'memory.csv' using 1:5 with lines
set size 0.25,0.5
set origin 0.75,0
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "avg. insert latency (us)"
set key right top
plot 'writes_speed.csv' using 1:($3/1000) with lines, 'writes_speed.csv' using 1:($4/1000) with lines, 'writes_speed.csv' using 1:($5/1000) with lines
unset multiplot