본문 바로가기

ETC/Informations

Latex에서 subfigure 사용하기


 

 다음과 같이 하면 위의 그림과 같이 그림 두 개가 붙어서 하나의 그림으로 표현된다. 

 

\begin{figure*}[!t]

\centering

\subfigure[]{

\includegraphics[width=.9\columnwidth]{figure/predErrorWithDifferentGroups_2}

\label{fig:nrGroup}

}

\subfigure[]{

\includegraphics[width=.9\columnwidth]{figure/figOverall_2}

\label{fig:overallResult}

}

\caption{

(a) Average reconstruction error as a function of the number of groups.

(b) Average reconstruction errors of ten scenarios.

}

\end{figure*}