我有 2 个子图,需要在每个子图下方放置子标题,而主标题保留在右侧。我尝试的代码如下:
\begin{figure}[H]
\begin{subfigure}{0.3\textwidth}
\includegraphics[width=\textwidth]{Images/powerQ.png}
\caption{Quantitative traits}
\label{fig:a}
\end{subfigure}
\hspace{-0.5cm}
\begin{subfigure}{0.3\textwidth}
\includegraphics[width=\textwidth]{Images/powerB.png}
\caption{Binary traits}
\label{fig:b}
\end{subfigure}
\caption{\label{fig:pow} Statistical Power Vs Target Sample Size
\newline
{\footnotesize \textit{Heritability was varied as 0.1, 0.2, 0.5 and 0.8 for quantitative traits while fixing the values as 0.1 for binary traits; effective number of chromosome segments was fixed at 50,000; discovery sample size was fixed at 231,034 (80\% of 288,792 of total individuals); number of SNPs was fixed at 1,217,311; population prevalence was varied as 0.05, 0.1, 0.2 and 0.3 for binary traits where it was assumed that the number of cases in both training and validation samples were equal to the corresponding population prevalence values at each instance; the top proportion of genetic scores in the validation sample was fixed at 0.01; significant threshold in power calculation was considered as 0.05}}}
\label{fig:study3}
\end{figure}