-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaper_plot_mem_print_plot_bw.gp
More file actions
32 lines (25 loc) · 1.36 KB
/
paper_plot_mem_print_plot_bw.gp
File metadata and controls
32 lines (25 loc) · 1.36 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
set title "Memory access distribution for 32MB Bloom filter" font ",20"
set ylabel "Memory Access counts (100K each)" font ",16"
set xlabel "Bit value (MB)" font ",16"
set yrange [0:*]
set terminal pdfcairo size 5in,3in enhanced color font 'Helvetica,11' linewidth 2 rounded
set output "mem_print_plot_bw.pdf"
set border linewidth 1
set tics font ",14"
set bmargin 4
set rmargin 4
# Make the legend show dash patterns clearly
set key font ",16"
set key samplen 4 spacing 1.2
# Explicit, high-contrast B/W line styles
set style line 1 lw 0.5 dt (1,0) # solid
set style line 2 lw 0.5 dt (1, 0) # long dashes
set style line 3 lw 0.5 dt (1,0) # short dashes
# plot \
# "results/bins/bf_rm_no_sort.txt" using ($1/1000):($2/100) with lines ls 1 title "no-sort", \
# "results/bins/bf_rm_full_sort.txt" using ($1/1000):($2/100) with lines ls 2 title "full-sort", \
# "results/bins/bf_rm_part_0_16.txt" using ($1/1000):($2/100) with lines ls 3 title "part-sort"
plot \
"results/bins/bf_rm_no_sort.txt" using ($1/1000):($2/100) with linespoints ls 1 pt 1 ps 0.3 pointinterval 80 title "no-sort", \
"results/bins/bf_rm_full_sort.txt" using ($1/1000):($2/100) with linespoints ls 2 pt 5 ps 0.3 pointinterval 80 title "full-sort", \
"results/bins/bf_rm_part_0_16.txt" using ($1/1000):($2/100) with linespoints ls 3 pt 2 ps 0.4 pointinterval 80 title "partition"