I want to use subfigures to place three figures like this:
The following is the code I used:
\begin{figure}
\begin{tabular}{|c|c|}
\hline
\multirow{2}{*}{
\begin{subfigure}[h]{0.3\textwidth}
\centering
\includegraphics{Fig2}
\caption{Argumentation Framework $I$}
\label{fig:afexampleI}
\end{subfigure}
}
&
\begin{subfigure}[h]{0.6\textwidth}
\centering
\includegraphics{Fig3}
\caption{Argumentation Framework $III$}
\label{fig:afexampleIII}
\end{subfigure} \\
&
\begin{subfigure}[h]{0.6\textwidth}
\centering
\includegraphics{Fig4}
\caption{Argumentation Framework $II$}
\label{fig:afexampleII}
\end{subfigure} \\
\hline
\end{tabular}
\caption{Argumentation Frameworks}\label{fig:afexample}
\end{figure}
However, this is the result:
P.S. I used \hline
in order to better illustrate the figures, otherwise there should be no borders for the tabular
environment used.
Best Answer
To have three independent figures with the desired layout, you can use
minipage
s:To have the three images as subfigures, you can simply replace
\caption
with\subcaption
(from thesubcaption
package) in the previous code:The
demo
option forgraphicx
simply replaces actual figures with black rectangles; do not use that option in your actual document.