

   PPoossttSSccrriipptt GGrraapphhiiccss

        postscript(file = "Rplots.ps", ...)
        ps.options(..., reset = FALSE, override.check = FALSE)
        .PostScript.Options

   AArrgguummeennttss::

       file: a character string giving the name of the file to
             print to.

        ...: further options for `postscript()'.

      paper: the size of paper in the printer.  The choices are
             `"a4"', `"letter"', `"legal"' and `"executive"'.

   horizontal: the orientation of the printed image, a logical.

   width,height: the width, and height of the graphics region
             in inches.  The default is to use the entire page.

     family: the font family to be used.  This must be one of
             `"AvantGarde"', `"Bookman"', `"Courier"', `"Hel-
             vetica"', `"Helvetica-Narrow"', `"NewCentu-
             rySchoolbook"', `"Palatino"' or `"Times"'.

   pointsize: the default point size to be used.

         bg: the default background color to be used.

         fg: the default foreground color to be used.

   onefile, print.it, append: logical; are currently all disre-
             garded; just there for compatibility reasons.

   DDeessccrriippttiioonn::

        `postscript' starts the graphics device driver for pro-
        ducing PostScript graphics.  The auxiliary function
        `ps.options' can be used to set and view (if called
        without arguments) default values for the arguments to
        `postscript'.

   DDeettaaiillss::

        `postscript(..)' opens the file `file' 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.

        The postscript produced by R is EPS (Encapsulated
        PostScript) compatible, and can be included into other
        documents, e.g. into LaTeX, using `\psfig{file=<file-
        name>}'.

   SSeeee AAllssoo::

        `x11', `macintosh', `Devices'.

   EExxaammpplleess::

         # open the file "foo.ps" for graphics output
         postscript("foo.ps")

         # open the file "foo.ps" for graphics output
         postscript("foo.ps")

        plot(xx,yy)# produce the desired graph(s)
        dev.off()# turn off the postscript device

        all(unlist(ps.options()) == unlist(.PostScript.Options))
        str(ps.options(reset = TRUE))

        ##- error checking of arguments:
        ps.options(width=0:12, onefile=1, bg=pi)

        plot(xx,yy)# produce the desired graph(s)
        dev.off()# turn off the postscript device

        all(unlist(ps.options()) == unlist(.PostScript.Options))
        str(ps.options(reset = TRUE))

        ##- error checking of arguments:
        ps.options(width=0:12, onefile=1, bg=pi)

