1

enter image description here

I tried the following

\begin{center}
   \begin{figure}
    \centering
    \includegraphics[width =11cm, height = 5cm]{confusion-matrix.png}
    \caption{Confusion matrix
    }
    \label{fig:my_label}
\end{figure} 
\end{center}

but it doesn't seem to work

3

1 Answer 1

0

enter image description here

\documentclass[twocolumn]{article}

\usepackage{subcaption,graphicx}
\usepackage{lipsum}

\begin{document}

\lipsum[1]
%first three figures
\begin{figure}[t]
  \centering
  \begin{subfigure}{.3\columnwidth}
    \centering
    \includegraphics[width=\linewidth]{example-image-a}
    \caption{Level 1}
  \end{subfigure}%
  \hfill
  \begin{subfigure}{.3\columnwidth}
    \centering
    \includegraphics[width=\linewidth]{example-image-b}
    \caption{Level 2}
  \end{subfigure}%
  \hfill
  \begin{subfigure}{.3\columnwidth}
    \centering
    \includegraphics[width=\linewidth]{example-image-c}
    \caption{Level 3}
  \end{subfigure}
  \caption{some caption text}
\end{figure}
%second single figure
\begin{figure}[t]
    \centering
    \begin{subfigure}{\columnwidth}
        \centering
        \includegraphics[width=\linewidth]{example-image-a}
        \caption{Level 1}
    \end{subfigure}%
    \caption{some caption text}
\end{figure}
\lipsum[2-7]

\end{document}

Not the answer you're looking for? Browse other questions tagged .