What I want to do is to have 3 PGFPlots subplots and the legend arranged in four equally sized boxes. However, when I use the following code, in the output the legend is not vertically aligned with the bottom left plot. What should I do to make it vertically aligned at the center of the bottom row, which in my opinion would be more aesthetically pleasing?
\documentclass[12pt]{article}
\usepackage{pgfplots}
\begin{document}
\begin{tabular}{cc}
\begin{tikzpicture}
\begin{axis}[width=0.45\textwidth,
legend columns=1,
legend entries={blahblahblah\\},
legend to name=legend:aligning-subplots-legend]
\addplot {x};
\end{axis}
\end{tikzpicture}
&
\begin{tikzpicture}
\begin{axis}[width=0.45\textwidth]
\addplot {x};
\end{axis}
\end{tikzpicture}
\\
\begin{tikzpicture}
\begin{axis}[width=0.45\textwidth]
\addplot {x};
\end{axis}
\end{tikzpicture}
&
\ref{legend:aligning-subplots-legend}
\end{tabular}

