GPLOT recipes: Include PostScript output in a TeX file


If you selected a PostScript file as graphics device (device PPSFILE, LPSFILE, PCPSFILE, LCPSFILE), your plot will fit (in most cases) on an A4 size paper. If you want to import this PostScript file in a TeX file, write in that file the following sequence of commands:
   \input epsf
   \epsfbox[<xmin> <ymin> <xmax> <ymax>]{<postscriptfilename>}
(see also DVIPS manual). The coordinates of the box that will set the part of the PostScript file that you want to include, can be obtained by running GhostView.
GIPSY