PlotPDF: Utility to wrap the standard pdf() driver to A4 or A3 format

Description Usage Arguments Examples

Description

Remember to use dev.off() after you have done the plot.

Usage

1
PlotPDF(plot.filename, page.size = "A4", landscape = TRUE)

Arguments

plot.filename

- the filename for the plot

page.size='A4'

- used to specify page size, can be A3

landscape=TRUE

- used to specify page orientation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
filename<-'A_good_plot.pdf'
PlotPDF(filename)
 ... some plot commands
dev.off()

PlotPDF(filename,page.size='A3',landscape=FALSE)
 ... some plot commands
dev.off()

## End(Not run)

StatsResearch/RobsRUtils documentation built on May 9, 2019, 3:04 p.m.