Displaying 4 results from an estimated 4 matches for "addplot".
Did you mean:
ddplot
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!
...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]]
2015 Jul 04
0
Support for transparency in metafile export & support for export to Powerpoint
...size["width"]/pagesize["height"]
if (pageaspectr>plotaspectr) {xf=plotaspectr/pageaspectr;yf=1} else {xf=1;yf=pageaspectr/plotaspectr}
w = (scaling/100)*pagesize["width"]*xf;
h = (scaling/100)*pagesize["height"]*yf
if (type=="PPT") {doc = addPlot( doc, myplot, vector.graphic = vector.graphic, fontname = fontname, pointsize = pointsize,
offx = (pagesize["width"]-w)/2, offy = (pagesize["height"]-h)/2,
width = w, height = h) } else {doc = addPlot( doc, myplot, vector.graphic = vector.graphi...
2015 Jun 29
0
Support for transparency in metafile export & support for export to Powerpoint
...plot2 )
mydoc = pptx( )
mydoc = addSlide( mydoc, slide.layout = "Title and Content" )
mydoc = addTitle( mydoc, "Plot examples" )
myplot = qplot(Sepal.Length, Petal.Length
, data = iris, color = Species
, size = Petal.Width, alpha = I(0.7)
)
mydoc = addPlot( mydoc, function( ) print( myplot ), vector.graphic=TRUE)
writeDoc( mydoc, file = "test plot.pptx" )
I was thinking it could be nice though to provide this capability also in base R - so that e.g.
windows()
plot(...)
File...Save as...would also provide an option to save as Powerpoint, w...