绘图

本文将针对Latex中常用绘图命令进行总结

图片排版

基本绘图(浮动体)

点击显/隐内容
1
2
3
4
5
6
\begin{figure}[ht]
\centering
\includegraphics[scale=0.6]{fullscreen.png}
\caption{this is a figure demo}
\label{fig:label}
\end{figure}

相关参数解释如下:

  • h 此处(here)
  • t 页顶(top)
  • b 页底(bottom)
  • p 独立一页(page)

并列子图

点击显/隐内容
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%latex 实现3张图并排
\begin{figure*}[t!]
\centering
\begin{subfigure}[t]{0.3\textwidth}
\centering
\includegraphics[height=1.7in]{figure14(a).pdf}
\caption{}
\end{subfigure}%
~
\begin{subfigure}[t]{0.3\textwidth}
\centering
\includegraphics[height=1.7in]{figure14(b).pdf}
\caption{}
\end{subfigure}
~
\begin{subfigure}[t]{0.3\textwidth}
\centering
\includegraphics[height=1.7in]{figure14(c).pdf}
\caption{}
\end{subfigure}
~
\caption{The diagram of the simulation results of ATP system with MRAC and ASTKF}
\end{figure*}

效果如下:

参考文献

0%