您的位置:首页 > 其它

LaTeX排版指定行列的子图

2015-08-20 05:37 309 查看
在写paper时,经常遇到LaTeX排版指定行列的子图形。以2X2子图为例,代码如下:

\usepackage{subfig}
\begin{figure*}[!htb]
\centering
\subfloat[Location of Cell Towers]{\includegraphics[width=0.47\textwidth]{figures/geo_tower.pdf}} &
\subfloat[Number of Records]{\includegraphics[width=0.47\textwidth]{figures/geo_records.pdf}} \\
\subfloat[User Population]{\includegraphics[width=0.47\textwidth]{figures/geo_population.pdf}} &
\subfloat[Data Volume]{\includegraphics[width=0.47\textwidth]{figures/geo_data_volume.pdf}} \\
\caption{Geographic Distribution of Cell Towers, Number of Records, User Population and Data Volume}
\label{fig:geo_distribution}
\vspace{0.2in}
\end{figure*}

排版效果如下:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息