[R] Figures in Latex

Kingsford Jones kingsfordjones at gmail.com
Fri Jul 23 21:49:20 CEST 2010


to make the desired within R's plotting device rather than in latex try:

par(mfrow = c(3, 2))

and you'll probably want to adjust other mar, parameters as well (e.g.
mar, cex.lab, etc).

Or, take advantage of the flexibility offered by the graphics package
by studying ?layout

hth,
Kingsford



On Fri, Jul 23, 2010 at 7:43 AM, li li <hannah.hlx at gmail.com> wrote:
> Hi all,
>   I want to add 6 plots in the format of 2 columns and 3 rows as one
> figure in latex. The plots are in .eps file.
> I know how to add 2 plots side by side, but could not figure out how to do
> multiple rows.
>  I know this may not be the right place to ask such a question. But I do
> not know who to ask, so just try my
> luck here.
>  Thank you in advance.
>                                                      Hannah
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
>



More information about the R-help mailing list