-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitment_size_ratio.tex
More file actions
53 lines (47 loc) · 1.51 KB
/
commitment_size_ratio.tex
File metadata and controls
53 lines (47 loc) · 1.51 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
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage[a4paper,margin=0.4cm]{geometry}
\begin{document}
\begin{figure*}[t]
\centering
\begin{tikzpicture}
\begin{axis}[
width=0.45\textwidth,
height=6cm,
grid=major,
grid style={dashed, gray!30},
xlabel={$N$ (erasure block has $N \times N$ cells)},
ylabel={},
tick label style={font=\small},
label style={font=\small},
title={Commitment Size Per Block Size},
title style={font=\small},
legend style={
draw=black,
fill=white,
fill opacity=0.9,
text opacity=1,
at={(0.97,0.97)},
anchor=north east,
font=\scriptsize,
row sep=-2pt,
cells={anchor=west}
},
]
\addplot+[blue, solid, mark=*, mark size=1pt, mark repeat=5]
table[x=n, y=ratio_f1, col sep=comma]{results/commitment_size/commitment_benchmark.csv};
\addlegendentry{$k = 1$}
\addplot+[red, solid, mark=square*, mark size=1pt, mark repeat=5]
table[x=n, y=ratio_f8, col sep=comma]{results/commitment_size/commitment_benchmark.csv};
\addlegendentry{$k = 8$}
\addplot+[brown, solid, mark=triangle*, mark size=1pt, mark repeat=5]
table[x=n, y=ratio_f16, col sep=comma]{results/commitment_size/commitment_benchmark.csv};
\addlegendentry{$k = 16$}
\addplot+[green!60!black, solid, mark=diamond*, mark size=1pt, mark repeat=5]
table[x=n, y=ratio_f32, col sep=comma]{results/commitment_size/commitment_benchmark.csv};
\addlegendentry{$k = 32$}
\end{axis}
\end{tikzpicture}
\end{figure*}
\end{document}