% This file was created with matplot2tikz v0.5.4.
\begin{tikzpicture}

\begin{axis}[
height=5.0cm,
tick pos=both,
width=\linewidth,
xlabel={Expected residual life (steps)},
xmajorgrids,
xmin=0, xmax=20.475,
xtick style={color=black},
xtick={0,2.5,5,7.5,10,12.5,15,17.5,20,22.5},
xticklabels={
  \(\displaystyle {0.0}\),
  \(\displaystyle {2.5}\),
  \(\displaystyle {5.0}\),
  \(\displaystyle {7.5}\),
  \(\displaystyle {10.0}\),
  \(\displaystyle {12.5}\),
  \(\displaystyle {15.0}\),
  \(\displaystyle {17.5}\),
  \(\displaystyle {20.0}\),
  \(\displaystyle {22.5}\)
},
y dir=reverse,
ylabel={Strategy},
ymajorgrids,
ymin=-0.49, ymax=1.49,
ytick style={color=black},
ytick={0,1},
yticklabels={Eager: Geom(p=0.05),Sweep: Deterministic W=20}
]
\draw[draw=black,line width=0.36pt,pattern=north east lines,pattern color=black] (axis cs:0,-0.4) rectangle (axis cs:19.5,0.4);
\draw[draw=black,line width=0.36pt,pattern=north east lines,pattern color=black] (axis cs:0,0.6) rectangle (axis cs:10,1.4);
\end{axis}

\end{tikzpicture}
