Saturday, March 5, 2011

Subfigure. Example of using Subfigure (need to update)

%This entry gives an example of using the subfigure package. Together with the iften to conditionally include graphs. The first figure gives an example without subfigure

%This needs to be updated to find a true subfigure example

%preamble

\usepackage{graphicx, subfigure, ifthen}

%Figures:
%-----------------------------------------------
\newboolean{includefigs}
\setboolean{includefigs}{true} %true = show graphs or false = don't
\newcommand{\condcomment}[2]{\ifthenelse{#1}{#2}{}}
%-----------------------------------------------

%main document

\condcomment{\boolean{includefigs}}{
\begin{figure}[t!]
\begin{center}
\includegraphics[scale=.3]{LHflo.eps}
\includegraphics[scale=.3]{LHmv.eps}
\includegraphics[scale=0.3]{LHhW.eps}
\caption{LH experiment. (L) plot of log $\flo$ versus cycle number ($\log F_j$ vs. $j$) for all 16 replicates of $LH_1$ (in blue) and all 16 replicates of $LH_2$ (in red); (C) the mean and variance (taken over the 15 replicates, which were retained for the data analysis, at each cycle) of log $\flo$ versus cycle number for $LH_1$ (blue) and $LH_2$ (red); (R) plot of $\hat{V}_k$ ($\times 10^7$) versus replicate number for $LH_1$ ($+$) and $LH_2$ ($o$).\label{fig:LH}}
\end{center}
\end{figure}
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.