wdPlot {R2wd} | R Documentation |
By default, this uses the plot
function to create the plot
according to the arguments given as ...
. The plot
function
can be replaced by another function which creates a graph.
wdPlot(..., plotfun = plot, height = 5, width = 5, pointsize = 10, bookmark = NULL, wdapp = .R2wd, paragraph = TRUE)
... |
the arguments to the plot function |
plotfun |
the plot function (by default plot )
|
height |
the height of the plot in R units (commonly inches) |
width |
the width of the plot in R units (commonly inches) |
pointsize |
the pointsize of the plot |
bookmark |
the bookmark text (if missing, a default will be created) |
wdapp |
the handle to the Word Application (usually not needed) |
paragraph |
whether a paragraph is given after inserting the plot. |
The plot is transfered as a windows metafile.
Christian Ritter
## Not run: wdGet() wdTitle("R2wd: plotting") wdPlot(1:100,sin(1:100),type="l",bty="l") ## End(Not run)