Commit 420c8e19 authored by Florian Fischer's avatar Florian Fischer
Browse files

improve throughput plots

parent 37811067
......@@ -81,16 +81,18 @@ def build_tikz(stats,
yminorticks=false,
ymajorgrids=true,
height=7.5cm,
width=10cm,
width=9cm,
enlarge x limits={
auto,
value=0.04,
},
ylabel={Thousand echos/\\unit{\\s}},
xlabel={Connections},
legend columns=3,
legend style={
at={(.5,1.05)},
at={(.5,-.3)},
anchor=south,
font=\\scriptsize,
font=\\small,
draw=none,
fill=none,
},
......@@ -116,9 +118,6 @@ $table};
tail = Template("""
\\end{groupplot}
\\draw ($$(plots c1r1.south) + (0,-0.4)$$) node[anchor=north] (xlabel) {\\textbf{Connections}};
\\draw ($$(plots c1r1.west) + (-0.8,0)$$) node[anchor=south,rotate=90] (ylabel) {\\textbf{$y_label}};
\\node (title) at ($$(plots c1r1.south) - (0,1.2)$$) {$title};
\\end{tikzpicture}
......@@ -135,7 +134,7 @@ $table};
impl_map_name = impl.replace('_', '-')
c_map = ''
for i, cons in enumerate(all_cons):
y_val = _eval_with_stat(y_expression, impl_stats[cons], 'median')
y_val = _eval_with_stat(y_expression, impl_stats[cons], 'mean')
data_row = f'{i}\t{y_val}\t'
......
% common tex usepackages, command and color definitions
\usepackage{siunitx}
\usepackage{xparse}
\providecommand{\emper}{EMPER}
\providecommand{\waitfd}{\texttt{suspendfd}}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment