一、方式一(subfig 与 subfloat 配合使用)
% Need:\usepackage{subfig}
\begin{figure}[htbp]
% \setlength{\abovecaptionskip}{0.2cm}
% \setlength{\belowcaptionskip}{-0.5cm}
\centering
\subfloat[MOT15]{\label{fig:a}\includegraphics[width=1.64in]{figures/MOT15_v4.eps}}
\subfloat[MOT16]{\label{fig:b}\includegraphics[width=1.64in]{figures/MOT16_v4.eps}}\\
\subfloat[MOT17]{\label{fig:c}\includegraphics[width=1.64in]{figures/MOT17_v4.eps}}
\subfloat[MOT20]{\label{fig:d}\includegraphics[width=1.64in]{figures/MOT20_v4.eps}}\\
\caption{XXX.}
\label{fig:XXX.}
\end{figure}
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/9395753e36a1673c473a3132b0b52c5f.png)
二、方式二(subcaption 与 subfigure 配合使用)
% Need:\usepackage{subcaption}
\begin{figure}[ht]
% \setlength{\abovecaptionskip}{0.2cm}
% \setlength{\belowcaptionskip}{-0.5cm}
\begin{subfigure}{.48\linewidth}
\centering
% include first image
\includegraphics[width=1.0\linewidth]{figures/MOT20_v4.eps}
\caption{MOT15}
\label{fig:a}
\end{subfigure}
\hfil
\begin{subfigure}{.48\linewidth}
\centering
% include second image
\includegraphics[width=1.0\linewidth]{figures/MOT20_v4.eps}
\caption{MOT16}
\label{fig:b}
\end{subfigure}
\newline
\begin{subfigure}{.48\linewidth}
\centering
% include first image
\includegraphics[width=1.0\linewidth]{figures/MOT20_v4.eps}
\caption{MOT17}
\label{fig:c}
\end{subfigure}
\hfil
\begin{subfigure}{.48\linewidth}
\centering
% include second image
\includegraphics[width=1.0\linewidth]{figures/MOT20_v4.eps}
\caption{MOT20}
\label{fig:d}
\end{subfigure}
\caption{XXX.}
\label{fig:XXX.}
\end{figure}
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/7fd70bae045a56d4f175001ae82a614f.png)
参考文献
- LaTeX多张图排列subfigure和subfloat的使用