我正在尝试将两个子图彼此相邻地放在一个大子图下,使用以下代码:
\begin{figure}
\centering
\begin{subfigure}[b]{0.9\linewidth}
\includegraphics[width=\linewidth]{figures2/ROI1spec.jpg}
\caption{The averaged spectrum over ROI1}
\end{subfigure}
\begin{subfigure}{0.3\linewidth}
\includegraphics[width=\linewidth]{figures2/ROI2spec.jpg}
\caption{The averaged spectrum over ROI2}
\end{subfigure}
\begin{subfigure}{0.3\linewidth}
\includegraphics[width=\linewidth]{figures2/ROI3spec.jpg}
\caption{The averaged spectrum over ROI3}
\end{subfigure}
\end{figure}
我尝试将两个较小的子图放在顶部,并将宽度更改为 .4,但无济于事。我做错了什么?