-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfigure16_script.gnuplot
More file actions
53 lines (44 loc) · 1.72 KB
/
figure16_script.gnuplot
File metadata and controls
53 lines (44 loc) · 1.72 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
set datafile separator ","
set logscale x
set key autotitle columnhead
set output 'output.png'
set term pngcairo size 2000, 400
set xlabel "# entries"
set size 1.5,1.5
set multiplot layout 1,4 rowsfirst
cd 'exp6'
set size 0.25,1
set origin 0.0,0
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "total memory (MB)"
set key right bottom
#set yrange [0:22];
set logscale y
plot 'memory.csv' using 1:(($2*$1)/(8*1024*1024)) with lines, 'memory.csv' using 1:(($6*$1)/(8*1024*1024)) with lines, 'memory.csv' using 1:(($7*$1)/(8*1024*1024)) with lines, 'memory.csv' using 1:(($8*$1)/(8*1024*1024)) with lines
unset logscale y
#unset yrange
set size 0.25,1
set origin 0.25,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:($2/1000) with lines, 'read_speed.csv' using 1:($6/1000) with lines, 'read_speed.csv' using 1:($7/1000) with lines, 'read_speed.csv' using 1:($8/1000) with lines
set size 0.25,1
set origin 0.5,0
set key left bottom
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:2 with lines, 'false_positive_rate.csv' using 1:6 with lines, 'false_positive_rate.csv' using 1:7 with lines, 'false_positive_rate.csv' using 1:8 with lines
unset logscale y
set size 0.25,1
set origin 0.75,0
unset yrange
#set label 1 'b' at graph 0.92,0.9 font ',8'
set ylabel "avg. insert latency (us)"
set key right top
set logscale y
set yrange [0.001:100];
plot 'writes_speed.csv' using 1:($2/1000) with lines, 'writes_speed.csv' using 1:($6/1000) with lines, 'writes_speed.csv' using 1:($7/1000) with lines, 'writes_speed.csv' using 1:($8/1000) with lines
unset logscale y
unset multiplot