[R] Maybe OT: large fonts in eps-figures

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Jun 13 11:01:09 CEST 2001

On Wed, 13 Jun 2001, Sven Garbade wrote:

> Hi there,
> if I copy an x11() graphics device to an eps-file (with dev.copy2eps())
> the font in the legend is very large and doesn't fit to the legend box
> in the eps-file (same with a postscript file). I'm not sure if this is a
> R problem rather than a ghostscript one.
> But is there a way to solve this problem in R or depends this on my
> ghostscript installation?

Set the ps arg when you copy.  Or (better) don't use dev.copy2eps() but
re-plot on a postscript device.

All dev.copy and hence dev.copy2eps does is to replay the graphics calls,
and in some cases device-specific decisions have already been made when the
call was first run.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list