IEEE 그래프 수평 정렬

IEEE 그래프 수평 정렬

나는 사용하고있다IEEE TVCG LaTeX 템플릿다음 코드를 사용하여 여러 이미지를 나란히 삽입하고 싶습니다.

\begin{figure}[h]
    \centering

    \begin{minipage}{0.45\textwidth}
        \centering
        \includegraphics[width=0.9\textwidth]{universe} % first figure itself
        \caption{Universe}
    \end{minipage}\hfill
    \begin{minipage}{0.45\textwidth}
        \centering
        \includegraphics[width=0.9\textwidth]{figure} % second figure itself
        \caption{Bar Plot}
    \end{minipage}

\end{figure}

그러나 템플릿으로 인해 페이지가 두 부분으로 나누어져 있으므로 이미지가 수평으로 나란히 정렬되지 않습니다. 다음 코드를 사용하여 코드를 서로 정렬하려면 어떻게 해야 합니까?

감사해요!

'그림*' 환경을 시도했습니다.

\begin{figure*}[h]
    \centering
    \begin{minipage}{0.45\textwidth}
        \centering
        \includegraphics[width=0.9\textwidth]{LeNet_300_Accuracy} % first figure itself
        \caption{LeNet 300-100-10 Training \& Testing Accuracy}
    \end{minipage}\hfill
    \begin{minipage}{0.45\textwidth}
        \centering
        \includegraphics[width=0.9\textwidth]{LeNet_300_Loss} % second figure itself
        \caption{LeNet 300-100-10 Training \& Testing Loss}
    \end{minipage}

\end{figure*}

하지만 이것도 별 도움이 되지 않습니다.

답변1

figure*대신 환경을 사용하여 그림을 두 열 모두에 걸쳐 표시 할 수 있습니다 .

관련 정보