\begin{figure}[htbp] \centerline{\includegraphics[width=0.5\textwidth]{images/him7.png}} \caption{Confusion matrices of 5 methods} \label{him7} \end{figure}
将figure替换成figure*·可以让图片横跨两列 3. 插入图表
1 2 3 4 5
\begin{table*}[htb] \caption{Summary of related work} \label{tab2} \includegraphics[width=\textwidth]{images/him6.png} \end{table*}
引用图表
1
\ref*{tab2} % 在文档中引用图表的label即可引用图表
LaTex中插入表格
1 2 3 4 5 6 7 8 9 10 11
\begin{table}[h!] % h! means the table mast be here \centering \begin{tabular}{ |p{2cm}||p{2.5cm}|p{2.5cm}|p{2.5cm}|} \hline a & b & c & d\\ a & b & c & d\\ \hline \end{tabular} \caption{AXI, AHB和APB总线对比} \label{tab_compare} \end{table}