I'm trying to put 3 images into one figure on one line. I have done the following approach:
\documentclass[sigconf]{acmart}
\usepackage{subcaption}
\begin{document}
\begin{figure*}
\begin{subfigure}{0.33\textwidth}
\includegraphics[width=0.33\textwidth]{1}
\caption{}
\label{fig:3_classes}
\end{subfigure}
\begin{subfigure}{0.33\textwidth}
\includegraphics[width=0.33\textwidth]{1}
\caption{}
\label{fig:5_classes}
\end{subfigure}
\begin{subfigure}{0.33\textwidth}
\includegraphics[width=0.33\textwidth]{1}
\caption{}
\label{fig:6_classes}
\end{subfigure}\par\medskip
\caption{This is a test.}
\end{figure*}
\end{document}
The image 1.png is available on onedrive: https://1drv.ms/u/s!AlkQuYgB1McYg8xUxUYxiZlhf9b6Ww
The problem is that I'm getting the following results. The captions are ok but the images are really small and somehow left alligned. I would like to have the images as large as possible so that they fit on one line.
Is this possible?
\begin{subfigure}{0.33\textwidth}
,\textwidth
becomes0.33\textwidth
so you are effectively doing0.33*0.33\textwidht
. Remove the0.33
from the\includegraphics
. You can use as example the first batch of code from here: tex.stackexchange.com/a/407620/134574