-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_pdf_cdf.gp
More file actions
22 lines (18 loc) · 843 Bytes
/
plot_pdf_cdf.gp
File metadata and controls
22 lines (18 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set title "Bloom filter of size 64 MB"
set ylabel "Access count to bins (1K each)"
set xlabel "Bin number (KBytes) (each bin is 64Kbits, or 8KBytes)"
set yrange [0:*]
set terminal pdf color
set output "mem_access_pdf_cdf.pdf"
# --- Define line/point styles ---
set style line 1 lc rgb "red" pt 7 ps 0.1 # filled circle
set style line 2 lc rgb "blue" pt 7 ps 0.1
# --- Plot data with filled circles ---
set title "Bloom filter of size 64 MB"
set ylabel "PDF"
set xlabel "Bin number (KBytes) (each bin is 64Kbits, or 8KBytes)"
plot "results/bins/partial_0_0_16.txt" with points ls 1 title "prime-16", \
plot "results/bins/og_partial_0_0_16.txt" with points ls 2 title "nonprime-16", \
set ylabel "CDF"
plot "results/bins/prime_cdf.txt" with lines title "prime", \
"results/bins/nonprime_cdf.txt" with lines title "nonprime", \