I'd like my figures to be one on top of the other, rather than next to each other, so that they are larger and spread along the page width. How do I do this? Here is my code:
\begin{figure}[H]
\centering
\begin{subfigure}[b]{0.3\textwidth}
\includegraphics[width=0.8\textwidth]{Nvariousg1}
\caption{}
\label{fig:Ng1}
\end{subfigure}
\begin{subfigure}[b]{0.3\textwidth}
\includegraphics[width=0.8\textwidth]{Nvariousg2}
\caption{}
\label{fig:Ng2}
\end{subfigure}
\caption{(a) Numerical solutions for the small-time system with a constant-curvature body shape showing the scaled leading-order veritcal reaction force $N_0$ versus the scaled body mass $M$ for various values of $g$. Again, $I=M$ for definiteness and $A=0.7$. (b) As for (a) but over a wider range of values of $M,I$.}
\end{figure}

\subfloatinstead of\begin{subfigure}– jibo Mar 19 '18 at 16:49subcaptionandsubfig(orsubfigure)? If that’s the case, all bets are off. Load eithersubfigorsubcaption, but not both. – Mico Mar 19 '18 at 17:01subfigurepackage is deprecated and shouldn't be used anymore. – Mico Mar 27 '18 at 21:30