I need help with some subfigures: graphic to the left, and matrix to the right. The problem is that they don't line up horizontally, because of a gap above the matrix. I have attached the code and a screenshot from my DVI viewer. I have included fboxes to further visualize the problem.
Any help is greatly appreciated!
Code: Select all
\begin{figure}
\centering
\fbox{\subfigure[X-Compactor circuit]{\label{fig:XCCir-8to5}\includegraphics[width=0.5\textwidth]{figures/XCompact-8to5.eps}}}
\fbox{\hspace{0.05\textwidth}}
\fbox{\subfigure[X-Compact matrix]{\label{fig:XCMat-8to5}
$\left[ \begin{array}{ccccc}
1 & 1 & 1 & 0 & 0 \\
1 & 0 & 1 & 1 & 0 \\
1 & 1 & 0 & 1 & 0 \\
1 & 1 & 0 & 0 & 1 \\
1 & 0 & 1 & 0 & 1 \\
1 & 0 & 0 & 1 & 1 \\
0 & 1 & 0 & 1 & 1 \\
0 & 0 & 1 & 1 & 1
\end{array} \right]$
}}
\caption{Example of an X-Compactor with its corresponding matrix, from \cite{MitraXC}.}
\label{fig:XC-8to5}
\end{figure}