plotBoth: Produce postscript and pdf images simulataneously

View source: R/plotBoth.R

plotBothR Documentation

Produce postscript and pdf images simulataneously

Description

Produce simulataneous postscript and pdf images using a user defined plot function.

Usage

plotBoth(plotfn, filename, control = plotBoth.control(), ...)

Arguments

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 plotBoth.control controls font embedding and plotting.

...

Any additional arguments that need to be fed to plotfn

Author(s)

J.M. Curran

See Also

plotBoth.control

Examples

## Not run: plotBoth(function(){
                    plot(rnorm(100),rnorm(100))}, 'test')
## End(Not run)

dafs documentation built on April 11, 2022, 5:06 p.m.

Related to plotBoth in dafs...