Добавление 3 многоколоночных столбцов в таблицу сверху вниз

Добавление 3 многоколоночных столбцов в таблицу сверху вниз

Я уже публиковал этот код раньше. Теперь я хочу добавить два перевернутых столбца в одну и ту же таблицу, как я отметил на рисунке таблицы «до» и «после», чтобы было понятнее.Перед вложенными/перевернутыми многоколоночными

После добавления вложенных/перевернутых многоколоночных элементов (мне нужно добавить многоколоночные элементы там, где я рисую эти черные квадраты) Вот мой код картинки № 1, которую я разместил

\documentclass[журнал]{IEEEtran}

\usepackage{мультикол}

\usepackage{multirow}

\begin{таблица*}

\settowidth\rotheadsize{DIMENSIONS}

\renewcommand\multirowsetup{\centering}

\renewcommand{\arraystretch}{1.5}

    \centering

\caption{Extreme Learning Machine(ELM) with kernel classifier accuracy of 

combine reduced feature vectors whose individual classifier accuracy was low}

    \begin{tabular}{|l|l| c |C{2.5cm}| c |C{2.5cm}|C{2cm}|C{2.5cm}|}

    \hline 

Algorithm

    & Dimension

        &  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}

            & Total after Adding Dimensions

                & Classifier

                    & Dimension Reduction Technique

                        & Reduced Dimension

                            & Accuracy  \\ 

    \cline{1-2} \cline{4-8}

LBP & 4D    &

                & \multirow{5}{=}{4D + 6D + 4D\\ + 3D + 4D = 21D}

                    & ELM

                        & \multirow{5}{=}{Eigenvalue as Dimension Estimator,

                                          PCA as Dimension Reduction}
                            & \multirow{5}{=}{21 dimensions reduced to 

dimensions}
                                & \multirow{5}{=}{Combine accuracy of 9 
dimensional
                                                  reduced Feature Vector is 
again 80\%}    \\

    \cline{1-2} \cline{5-5}

RGLBP         & 6D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

BDIP   & 4D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

HOG      & 3D    &   &   & ELM   &   &   &   \\

    \cline{1-2} \cline{5-5}

Combine and reduced     & 4D    &   &   & ELM   &   &   &    \\ 

 fv of poor individual  &       &   &   &       &   &   &  \\ 

  accuracy algorithms   &       &   &   &       &   &   & \\  

    \hline

\end{tabular}

\label{table:table6}

\end{table*}

решение1

так как вы не предоставляете компилируемый mwe, я используюмой ответдля вашего предыдущего похожего вопроса, чтобы показать принцип, как сделать многострочную ячейку «многоабзацной». в ней «абзацы» могут быть разделены между собой (только) с помощью \newlineкоманды. для небольшого вертикального пространства между ними, кажется, следует добавить \smallskipперед `\newline соответствующую меру:

\multirow{5}{=}{Correlation as Dimension Estimator,
                PCA as Dimension Reduction\smallskip\newline                                        
                Add Multicol here\smallskip\newline  
                Add Multicol here
                }

это должно быть просто использовать/добавлять в вашу таблицу, для меня полный mwe такой:

\documentclass[journal]{IEEEtran}
%\usepackage{array} % loaded twice
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{rotating}% added, for rothead
\usepackage{array, makecell, multirow, tabu}{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}% in this table is better use this definition

\begin{document}
    \begin{table*}
\settowidth\rotheadsize{DIMENSIONS}
\renewcommand\multirowsetup{\centering}
\renewcommand{\arraystretch}{1.5}
    \centering
\caption{Extreme Learning Machine(ELM) with kernel classifier having reduced dimension of feature vectors individual accuracy}
    \begin{tabular}{|l|l|c|C{2.5cm}|c|C{2.5cm}|C{2cm}|C{2.5cm}|}
    \hline
Algorithm
    & Dimension
        &  \multirow{6}{*}{\rothead{ADD THESE\\ DIMENSIONS}}
            & Total after Adding Dimensions
                & Classifier
                    & Dimension Reduction Technique
                        & Reduced Dimension
                            & Accuracy  \\
    \cline{1-2} \cline{4-8}
CDF & 4D    &
                & \multirow{5}{=}{4D + 4D + 4D\\ + 7D + 7D = 26D}
                    & ELM
                        & \multirow{5}{=}{Correlation as Dimension Estimator,
                                          PCA as Dimension Reduction\smallskip\newline
                                          Add Multicol here\smallskip\newline
                                          Add Multicol here
                                          }
                            & \multirow{5}{=}{26 dimensions reduced to 4 dimensions}
                                & \multirow{5}{=}{Combine accuracy of 4 dimensional
                                                  reduced Feature Vector is 68\%\smallskip\newline
                                                  Add Multicol here\smallskip\newline
                                                  Add Multicol here
                                                  }    \\
    \cline{1-2} \cline{5-5}
GO          & 4D    &   &   & ELM   &   &   &   \\
    \cline{1-2} \cline{5-5}
Bilateral   & 4D    &   &   & ELM   &   &   &   \\
    \cline{1-2} \cline{5-5}
SLDFFO      & 7D    &   &   & ELM   &   &   &   \\
    \cline{1-2} \cline{5-5}
SSGSM       & 7D    &   &   & ELM   &   &   &   \\
    \hline
\end{tabular}
\end{table*}
\end{document}

который дает:

введите описание изображения здесь

Связанный контент