Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
747 views
in Technique[技术] by (71.8m points)

latex - How do I adjust my table and image in to same page

I am new to this latex and getting hard time in adjusting my table and image in the same page. I found a way but it adds some unnecessary words in the generated pdf. If any one can help me how i can remove that words from PDF. Here is the screen shot of the pdf that I generate using the below.enter image description here

phantom{~}
oindent

egin{table}[H]
egin{adjustbox}{max width=extwidth}
egin{tabular}{|l|l|l|l|l|l|}{p{0.2extwidth}>{centering}p{0.2extwidth}>{centering}p{0.2extwidth}>{centeringarraybackslash}p{0.2extwidth}}
hline
Feature   Extraction                         & Feature selection                     & classifier & Accuracy & Precision & Recall \ hline
multirow{7}{*}{400BY400} & multirow{3}{*}{X}      & SVM-RBF    & 79    & 79     & 76 \ cline{3-6} 

                                             &                                       & KNN        & 79   & 81      & 69  \ cline{3-6} 
                                             &                                       & Rf         & 72  & 71     & 68  \ cline{2-6} 



multirow{7}{*}{}                            & multirow{3}{*}{Test_trace}          & SVM-RBF    & 63    &61   & 52 \ cline{3-6} 
                                                                                

                                             &                                       & KNN        & 66    & 62     & 46  \ cline{3-6} 
                                             &                                       & RF         & 64    & 63     & 58  \ cline{2-6} 


multirow{7}{*}{}                            & multirow{3}{*}{SVFS}          & SVM-RBF    & 78    &73    & 76 \ cline{3-6} 
                                                                                

                                             &                                       & KNN        &78    & 79     & 66  \ cline{3-6} 
                                             &                                       & RF         & 80    & 75     & 71  \ cline{2-6} 

multirow{7}{*}{}                            & multirow{3}{*}{PCA}          & SVM-RBF    & 58    & 56     & 49 \ cline{3-6}                                   

                                             &                                       & KNN        & 59    & 56     & 56  \ cline{3-6} 
                                             &                                       & RF         & 56    & 51     & 59  \ cline{2-6} 
multirow{7}{*}{}                            & multirow{3}{*}{Univariate selection}   & SVM-RBF    & 71   & 70    & 59  \ cline{3-6} 
                                                                                 

                                             &                                       & KNN        & 71    & 72    & 55  \ cline{3-6} 
                                             &                                       & RF         & 70    & 67     & 63 \ hline
end{tabular}
%caption{$8080$ Image size } 
%label{CH2-beta-ij}
end{adjustbox}
end{table}

egin{figure}[H]
        centering
        includegraphics[height=6cm,width=.9extwidth]{pic5.JPG}
        caption{$$}
        label{Smooth}
end{figure}
question from:https://stackoverflow.com/questions/65901819/how-do-i-adjust-my-table-and-image-in-to-same-page

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...