Aimin Yan wrote:
> if I want to put fig1plot to the left, figYPplot to the right
> figYAaplot on the bottom.
> How to modify the following cod to do these?

An example is below.

I obviously won't include examples of how to use par() as these have
been documented in detail almost everywhere, and if you feel the need to
ask, then go and look in the documentation.


\begin{figure}
\centering
\subfigure[Caption1]{   
<<figureone, fig=TRUE,echo=FALSE>>=
hist(x)
@
}

\subfigure[Caption2]{
<<figuretwo, fig=TRUE, echo=FALSE>>=
hist(y)
@
}
\caption{Overall caption}
\label{fig:label}
\end{figure}


Mark

-- 
Dr. Mark Wardle
Clinical research fellow and Specialist Registrar in Neurology,
C2-B2 link, Cardiff University, Heath Park, CARDIFF, CF14 4XN. UK

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to