Sunday, June 07, 2009

latex multi-plots using minipage and picture env



\begin{figure}[h!]
\begin{minipage}{0.5\textwidth} 
\includegraphics[width=\textwidth]{uz_low.eps}
\end{minipage}
\begin{minipage}{0.5\textwidth} 
\includegraphics[width=\textwidth]{uz_high.eps}
\end{minipage}
\setlength{\unitlength}{1in}
\begin{picture}(0,0)(0,0)
\put(0.2,0.1){\makebox(0,0){\textbf{(a)}}}
\put(3.22,0.1){\makebox(0,0){\textbf{(b)}}}
\end{picture} \vspace{-0.17cm}
\caption{Nondimensional mean streamwise velocity profile in a semi-logarithmic
scale: (a) results from lower resolutions; (b) results from higher resolutions and the right corner plot is a zoomed view of the far-wall region ($z/z_0 \apprge 1000$). The dashed line corresponds to the classical log-law with $\kappa=0.4$.}
\label{fig:uz_all}
\end{figure}