Latex排版
让图片与表格竖向排列,各自拥有不同的caption、label。
其中figure也可以替换为table
captionof{args1}{args2}第一个参数表示为图片还是表格设置caption第二个参数是caption的内容。
\begin{figure}
\centering
\begin{minipage}{0.4\textwidth}
\centering
\includegraphics[width=220pt,height=120pt]{image/ground_truth_Indiana.eps}
\captionof{figure}{Ground-truth map of the Indian Pines data set (16 land cover classes).} \label{fig:ground_truth_Indiana}
\
\end{minipage}
\begin{minipage}{0.4\textwidth}
\
\captionof{table}{LAND COVER CLASSES WITH THE NUMBER OF SAMPLES
FOR THE INDIAN PINES DATA SET}
\begin{tabular}{lll}
\toprule
Class & Land Cover Type & No. of Samples \\
\midrule
C1 & Soybean-Steel-Towers 1 & 95 \\
C2 & Hay-windrowed 2 & 489 \\
C3 & Corn-min Till & 834 \\
C4 & Soybean-no Till &