如下面的代码所示,我有两个子图:
\documentclass[12pt,twoside]{book}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\begin{document}
\begin{figure}[ht]
\centering
\begin{subfigure}{\textwidth}
\centering
\includegraphics[scale=1]{vel_ang_loop_per.eps}
\caption{Componenti $p(t)$, $q(t)$ e $r(t)$ della velocità angolare.}
\label{fig:p,q,r_loop_perf}
\end{subfigure} \\[1cm]
\begin{subfigure}{\textwidth}
\centering
\includegraphics[scale=1]{vel_trasl_loop_per.eps}
\caption{Componenti $u(t)$, $v(t)$, $w(t)$ della velocità del baricentro.}
\label{fig:u,v,w_loop_perf}
\end{subfigure}
\caption{test}
\end{figure}
\end{document}
我的数据文件: first_fig second_fig