几种插入图片的方式
(我的图片都保存在一个pic文件夹下)
notice:[h]表示here
[t]表示top
[b]表示bottom
[p]图片设置为浮动状态,也就是可以根据系统排版的,自动放置图片的位置。一般设置[htbp]
1.一张图片占一栏
\begin{
figure}
\centering
\includegraphics[width=0.5\textwidth]{
pic/1.png}
\caption {
Illustration of a DFL system model.}\label{
fig1}
\end{
figure}
2.一张图片占两栏
\begin{
figure*}[htbp]
\centering
\includegraphics[width=1\textwidth]{
pic/2.png}
\caption {
Illustrations of data patterns and the flowchart of the system.}\label{
fig2}
\end{
figure*}
3.两张图片并排占两栏
3.1 minipage 的形式
\begin{
figure*}[htbp]
\centering
\subfigure[Geometry of wireless network]{
\begin{
minipage}[t]{
0.5\textwidth}
\centering
\includegraphics[width=7cm]{
pic/4.png}
%\caption{
fig1}
\end{
minipage}%
}%
\subfigure[Real experimental environment]{
\begin{
minipage}[t]{