Displaying 2 results from an estimated 2 matches for "addpagebreak".
2013 Feb 13
1
plot rtf in landscape orintation
Hello All,
I 'm trying to plot R graph in landscape orientation in a .rtf file.
i 'm using library(rtf) for this.
do we have any option in addPlot() function to rotate the orientation of
the rtf file?
Thank you,
Deepthi BM
PGDB-10-10-04
Institute of Bioinformatics and Applied Biotechnology
Biotech Park, Electronic City, Phase I, Bengaluru-560100
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
...cies", "Sepal Length")
addTable(rtf, tab, font.size=10, row.names=TRUE, NA.string="-",
col.widths=c(1, 0.5, 0.5, 0.5, 0.5) )
newPlot <- function() {
par(pty="s", cex=0.7)
plot(iris[, 1], iris[, 2])
abline(h=2.5, v=6.0, lty=2)
}
addPageBreak(rtf)
addPlot(rtf, plot.fun=newPlot, width=5, height=5, res=300)
addNewLine(rtf)
addParagraph(rtf, "Figure 1. Plot of the iris data using the addPlot()
function.\n")
addNewLine(rtf)
addNewLine(rtf)
addSessionInfo(rtf)
done(rtf)
[[alternative HTML version deleted]]