I have 5 figures, which I want to display in one page, after dividing it in three minipages. Idellay I have 2 subfigures in the first minipage, 2 in the second one, and only one in the third minipage center-aligned.
I tried the following:
\documentclass[a4paper,10pt]{article}
\usepackage[demo]{graphicx}
\usepackage{subfigure}
\usepackage{amsmath}
\usepackage[paper=letterpaper,left=1.0in,right=1.0in,top=0.25in,bottom=1.0in,]{geometry}
\begin{document}
\begin{figure}
\begin{minipage}{03.\textheight}
\centering
\begin{subfigure}[a]{\includegraphics[width=.5\linewidth] {./pngs/profile_L_3lambda_max_1wl_0.png}
\label{fig:subfig1}
}%
\end{subfigure}
\begin{subfigure}[b]{\includegraphics[width=.5\linewidth]{./pngs/profile_L_3lambda_max_1wl_dft_0.png}
\label{fig:subfig2}
}%
\end{subfigure}
\label{fig:myfigure}
\end{minipage}
\begin{minipage}{03.\textheight}
\centering
\begin{subfigure}[c]{\includegraphics[width=.5\linewidth] {./pngs/profile_L_3lambda_max_1wl_0.png}
\label{fig:subfig1}
}%
\end{subfigure}
\begin{subfigure}[d]{\includegraphics[width=.5\linewidth]{./pngs/profile_L_3lambda_max_1wl_dft_0.png}
\label{fig:subfig2}
}%
\end{subfigure}
\label{fig:myfigure}
\end{minipage}
\begin{minipage}{03.\textheight}
\centering
\begin{subfigure}[f]{\includegraphics[width=\linewidth] {./pngs/profile_L_3lambda_max_1wl_0.png}
\label{fig:subfig1}
}%
\end{subfigure}
\caption{My caption}
\end{minipage}
\end{figure}
Unfortunately, the result is totally hopeless. Any suggestion on how to fix it? Thanks in advance
\begin{minipage}{03.\textheight}
, it is\begin{minipage}{0.3\textheight}
minipage
s. however, do you really needminipage
s? you can obtain desired result also without using them.