eps.Rd
Device driver for Encapsulated Postscript. This driver is the same as the postscript driver where some arguments have different default values.
eps(file="Rplot%03d.eps", width=7, height=7, horizontal=FALSE, paper="special",
onefile=FALSE, ...)
Default file name (pattern).
The width and height of the figure.
If FALSE
, an horizontal EPS file is created,
otherwise a portrait file is created.
A character
string specifying the paper type. Overrides
the default of postscript()
.
Not used.
Other arguments accepted by postscript()
.
A plot device is opened; nothing is returned.
This is just a convenient wrapper for postscript
with the proper arguments set to generate an EPS file.
It is recommended to use toEPS
() instead.
if (FALSE) {
eps("foo.eps", width=7, height=7)
# is identical to
postscript("foo.eps", width=7, height=7, onefile=TRUE, horizontal=FALSE)
# and
dev.print(eps, "foo.eps", ...)
# is identical to
dev.print(postscript, "foo.eps", onefile=TRUE, horizontal=FALSE, paper="special", ...)
}