Skip to content

Postscript graphs

2 messages · Lu Wang, Gavin Simpson

#
On Mon, 2010-01-25 at 14:05 -0800, Lu Wang wrote:
Word accepts eps files - did you try importing it? (It may look rubbish
on screen as it displays a low-res preview of the figure and in my
experience doesn't do a very good job on the preview, but it will print
on a postscript printer at high quality, as it will on any printer when
converted your word files is converted to PDF.)

You also need to add some arguments to your postscript call to get EPS:

postscript(file="H:/piechart.eps", height = X, width = Y,
           onefile = FALSE, paper = "special")

With X and Y your desired heights in inches.

GSView is a application that also runs on Windows that allows you to
open, view and convert postscript and EPS files. It requires the
Ghostscript interpreter to be installed as well.

How are you producing a pdf? Without knowing that it is difficult to say
how to import your postscript figure into it.

HTH

G