TITLE(postscript @@ PostScript Graphics)
USAGE(
postscript(file = "Rplots.ps", paper, horizontal, width, height,
        family, pointsize, bg, fg)
ps.options(paper, horizontal, width, height, family, pointsize, bg, fg)
)
ALIAS(postscript)
ALIAS(ps.options)
ARGUMENTS(
ARG(file @@ a character string giving the name of a file to print to.)
ARG(paper @@ the size of paper in the printer.  The choices are
LANG("a4"), LANG("letter"), LANG("legal") and LANG("executive").)
ARG(horizontal @@ the orientation of the printed image, a logical.)
ARG(width,height @@ the width, and height of the graphics region in inches.
The default is to use the entire page.)
ARG(family @@ the font family to be used.
This must be one of LANG("AvantGarde"),
LANG("Bookman"), LANG("Courier"), LANG("Helvetica"),
LANG("Helvetica-Narrow"), LANG("NewCenturySchoolbook"),
LANG("Palatino") or LANG("Times").)
ARG(pointsize @@ the default point size to be used.)
ARG(bg @@ the default background color to be used.)
ARG(fg @@ the default foreground color to be used.)
)
DESCRIPTION(
LANG(postscript) start the graphics device driver for producing
PostScript graphics.  The file LANG(file) is opened and the
PostScript commands needed to plot any graphics requested are
stored in that file.
This file can then be printed on a suitable device to obtain hard copy.
PARA
The auxiliary function LANG(ps.options) can be used to set and view
(if called without arguments)
default values for the arguments to LANG(postscript).
PARA
The postscript produced by R is  EPS (ITALIC(Encapsulated PostScript))
compatible, and can be included into other documents, e.g. into LaTeX, using
LANG(\\epffig{ITALIC(file)}).
)
SEEALSO(
LANG(LINK(x11)), LANG(LINK(macintosh)), LANG(LINK(Devices)).
)
EXAMPLES(
# open the file "foo.ps" for graphics output
postscript("foo.ps")
BLANK
plot(xx,yy)# produce the desired graph(s)
## dev.off()# turn off the postscript device
)
KEYWORD(device)
