Skip to content
Prev 268752 / 398502 Next

postscript( does not save the plot

On Aug 16, 2011, at 12:32 PM, Alaios wrote:

            
You did not create an EPS file. See ?postscript and pay attention to the fourth paragraph under Details:

The postscript produced for a single R plot is EPS (Encapsulated PostScript) compatible, and can be included into other documents, e.g., into LaTeX, using \includegraphics{<filename>}. For use in this way you will probably want to use setEPS() to set the defaults as horizontal = FALSE, onefile = FALSE, paper = "special". Note that the bounding box is for the device region: if you find the white space around the plot region excessive, reduce the margins of the figure region viapar(mar=).


HTH,

Marc Schwartz