Displaying 6 results from an estimated 6 matches for "includepdf".
Did you mean:
included
2009 Apr 14
1
using Sweave, how to save a plot in a given size
...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}
<<partI, echo=FALSE ,fig=TRUE, include=FALSE>>=
plotFunction()
@
\includepdf[pages=-]{figs/plot-partI}
When I use par(pin=c(width,height)), I get the plot with the right size but saved in a too big pdf page (7in x 7in, the default size of the window).
So I tried to change the size of the window with the command windows() but then, Sweave can't save the plot correctly....
2009 Apr 14
1
using Sweave, how to save a plot in a given size
...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}
<<partI, echo=FALSE ,fig=TRUE, include=FALSE>>=
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 fil...
2008 Oct 03
3
several postscript problems
...t(site[j,i])[k,3],pch=19,axes=F,ann=F,ylim=c(-180,180),xlim=c(0,0.5),col=plotcolour[i])
arrows(get(site[j,i])[k,1],get(site[j,i])[k,3]+get(site[j,i])[k,4],get(site[j,i])[k,1],get(site[j,i])[k,3]-get(site[j,i])[k,4],length
= .03, angle = 90, code = 3,col=plotcolour[i])
...
dev.off()
LaTeX:
\includepdf[pages={1-6},pagecommand={\thispagestyle{fancy}\begin{figure}[!b]\caption{test}\end{figure}},nup=2x3,scale=0.75,offset={0.5cm
1cm}]{result.pdf}
2009 Apr 10
0
Sweave, how to save plots with a defined size and how to include several pdf pages on the same line
...include all the pages of my document. The probleme is that I don't know how to set the size of my plots, so the size of the pdf page. The code is :
\SweaveOpts{prefix.string = figs/plot, eps = FALSE, pdf = TRUE}
<<partI, echo=FALSE ,fig=TRUE, include=FALSE>>=
plotFunction()
@
\includepdf[pages=-, noautoscale=TRUE]{figs/plot-partI}
And I have a second problem. Then I'd like to have several plots on the same line, that is to say several pdf pages inserted on the same line. I heard about the option column=TRUE but it doesn't work. Do you have any idea of how I could do that...
2023 Dec 02
1
adding "Page X of XX" to PDFs
Sorry, jumped into the thread too late. (On the other hand, once the
document gets complicated enough, it may be worth it in the long run to
convert to something that actually has a document-generating back-end,
rather than reinventing everything from scratch ...)
On 2023-12-02 2:03 p.m., Jeff Newmiller via R-help wrote:
> He clearly stated he was using the pdf() graphics device.
>
>
2023 Dec 02
1
adding "Page X of XX" to PDFs
You could easily omit the Page X of xX, but leave the timestamp
Then add Page X of XX programmatically using pdftools or some similar pdf
command line tools.
On Sat, 2 Dec 2023, 22:35 , <avi.e.gross at gmail.com> wrote:
> Having read all of the replies, it seems there are solutions for the
> question and the OP points out that some solutions such as making the
> document twice