{red,loosely dotted}, {black}} \begin{tikzpicture} \begin{axis}[ title=$\chi^2_k$, legend style={at={(0.95, 0.95), anchor=north west}}, axis x line=middle...