% This file was created with matplot2tikz v0.5.4 (hand-patched 2026-08-04: linear
% y-axis made bars for the 1.997/12.12/12.0 arms indistinguishable from zero at
% ymax=9072; switched to a true log axis with a log-safe bar baseline at ymin
% instead of 0, per [[docx-readability]]-style figure-quality gate).
\definecolor{barnavy}{HTML}{1B4F72}
\definecolor{barsky}{HTML}{2E86C1}
\begin{tikzpicture}

\begin{axis}[legend entries={{Mean Latency (s)},{Total Cost (units)}},
height=6.8cm,
legend cell align={left},
legend columns=2,
legend style={
  fill opacity=1.0,
  draw opacity=1,
  text opacity=1,
  at={(0.5,-0.18)},
  anchor=north,
  draw=none
},
tick pos=both,
width=\linewidth,
xlabel={Configuration},
xmajorgrids,
xmin=-0.54, xmax=2.54,
xtick style={color=black},
xtick={0,1,2},
xticklabels={event\_driven,cron\_fastest,cron\_cheapest},
ymode=log,
ylabel={Value (log scale)},
ymajorgrids,
ymin=1, ymax=10000,
ytick style={color=black},
ytick={1,10,100,1000,10000},
yticklabels={
  \(\displaystyle {1}\),
  \(\displaystyle {10}\),
  \(\displaystyle {100}\),
  \(\displaystyle {1{,}000}\),
  \(\displaystyle {10{,}000}\)
}
]
\draw[draw=black,fill=barnavy,line width=0.36pt] (axis cs:-0.4,1) rectangle (axis cs:0,1.997);
\addlegendimage{ybar,ybar legend,draw=black,fill=barnavy,line width=0.36pt}

\draw[draw=black,fill=barnavy,line width=0.36pt] (axis cs:0.6,1) rectangle (axis cs:1,5.086);
\draw[draw=black,fill=barnavy,line width=0.36pt] (axis cs:1.6,1) rectangle (axis cs:2,3318.25);
\draw[draw=black,fill=barsky,line width=0.36pt] (axis cs:-2.77555756156289e-17,1) rectangle (axis cs:0.4,12.12);
\addlegendimage{ybar,ybar legend,draw=black,fill=barsky,line width=0.36pt}

\draw[draw=black,fill=barsky,line width=0.36pt] (axis cs:1,1) rectangle (axis cs:1.4,8640);
\draw[draw=black,fill=barsky,line width=0.36pt] (axis cs:2,1) rectangle (axis cs:2.4,12);
\end{axis}

\end{tikzpicture}
