我正在使用 subcaption 包来并排显示子图,但不起作用。一个图在另一个图的顶部。有人能帮忙吗?
\begin{figure}[H]
\centering
\begin{subfigure}[b]{0.4\textwidth}
\centering
\includegraphics[scale=.5]{NZ}
\caption{Center of earthquake}
\label{nz}
\end{subfigure}%
\begin{subfigure}[b]{0.4\textwidth}
\centering
\includegraphics[scale=.5]{KAIK}
\caption{KAIK station}
\label{kaik}
\end{subfigure}%
\caption{}
\label{earthquake}
\end{figure}