Latex图片单列居中和双列居中(双列排版中)
1、单列居中
\begin{figure}[htbp]
\centering
\includegraphics[width=8cm]{Fig6}//这里是图片源,可指定大小和相应图片
\caption{Effective wavelengths selected by GA, SPA and BRT.}//这里是图片名
\label{Fig.6}
\end{figure}
效果图
2、双列居中
\begin{figure*}[htbp]
\centering
\includegraphics[width=15cm]{Fig5}
\caption{Spectral curves extracted from the ROI pixels of the hyperspectral image representing healthy and diseased tobacco leaves}
\label{Fig.3}
\end{figure*}
相较于单列就是多加了一个*
效果图
引用图片来自论文:Qing Gu, Li Sheng, Tianhao Zhang, Yuwen Lu, Zhijun Zhang, Kefeng Zheng, Hao Hu, Hongkui Zhou,
Early detection of tomato spotted wilt virus infection in tobacco using the hyperspectral imaging technique and machine learning algorithms,
Computers and Electronics in Agriculture,
Volume 167,
2019,
105066,
ISSN 0168-1699,
https://doi.org/10.1016/j.compag.2019.105066.