File size: 1,338 Bytes
2e841f7 | 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 | % This file was created with matplot2tikz v0.5.4.
\begin{tikzpicture}
\begin{axis}[legend entries={{Mean latency},{P95 latency}},
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={Strategy},
xmajorgrids,
xmin=-0.49, xmax=1.49,
xtick style={color=black},
xtick={0,1},
xticklabels={Eager (per-session),Periodic Sweep (W=20)},
ylabel={Latency (steps)},
ymajorgrids,
ymin=0, ymax=62.475,
ytick style={color=black},
ytick={0,10,20,30,40,50,60,70},
yticklabels={
\(\displaystyle {0}\),
\(\displaystyle {10}\),
\(\displaystyle {20}\),
\(\displaystyle {30}\),
\(\displaystyle {40}\),
\(\displaystyle {50}\),
\(\displaystyle {60}\),
\(\displaystyle {70}\)
}
]
\draw[draw=black,line width=0.36pt] (axis cs:-0.4,0) rectangle (axis cs:0,19.23);
\addlegendimage{ybar,ybar legend,draw=black,line width=0.36pt}
\draw[draw=black,line width=0.36pt] (axis cs:0.6,0) rectangle (axis cs:1,9.41);
\draw[draw=black,line width=0.36pt] (axis cs:-2.77555756156289e-17,0) rectangle (axis cs:0.4,59.5);
\addlegendimage{ybar,ybar legend,draw=black,line width=0.36pt}
\draw[draw=black,line width=0.36pt] (axis cs:1,0) rectangle (axis cs:1.4,18);
\end{axis}
\end{tikzpicture}
|