[Rd] using Sweave, how to save a plot in a given size

2009-04-14 Thread Lore M








Hi,
 
I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for 
Windows) using Sweave(). 
I'd like to insert all the pages from a pdf file. So I use this command :
 
\includepdf[pages=-]{figs/plot-partI}

The thing is that those pages are quite small and I'd like them to be on the 
same line (instead of one page centered in the middle of the line and a lot of 
empty space). 
I tried the option column=TRUE but I still have one pdf page on one line. Does 
anyone has an idea to solve my problem ? 

Thanks.
 
Lore.
_
Découvrez toutes les possibilités de communication avec vos proches

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] using Sweave, how to save a plot in a given size

2009-04-14 Thread Lore M

Hi there,
 
I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for 
Windows) using Sweave(). 
I'd like to save my plots in a given size. How can I do that ? The code is :
 
\SweaveOpts{prefix.string = figs/plot, eps = FALSE, pdf = TRUE}
<>=  
plotFunction()
@
\includepdf[pages=-]{figs/plot-partI}

The issue is that I have several plots created (but it's not always the same 
numbers of plots, in depends on the data), so I save them in a .pdf file 
automatically with Latex. 
Each plot is on one page of the pdf file. And then, I include all the pages of 
this pdf file. 
In that way, I don't have to deal with the number of plots created by Sweave, I 
just have to include all the pages of my document. 

Thanks a lot !
 
Lore.
_

r  !  Téléchargez-le maintenant ! 

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel