plotBoth | R Documentation |
Produce simulataneous postscript and pdf images using a user defined plot function.
plotBoth(plotfn, filename, control = plotBoth.control(), ...)
plotfn |
A function containing the plotting commands |
filename |
The name of the output file - .eps and .pdf will be appended to the postscript and pdf images respectively |
control |
The results of |
... |
Any additional arguments that need to be fed to plotfn |
J.M. Curran
plotBoth.control
## Not run: plotBoth(function(){ plot(rnorm(100),rnorm(100))}, 'test') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.