[Rd] dev.copy2eps: position of figure on page

Peter Kleiweg kleiweg@let.rug.nl
Fri, 29 Dec 2000 15:31:03 +0100 (CET)


The definition for dev.copy2eps contains the following line:

    oc$paper <- "special"

The result of this is that the output will be placed in the left
bottom corner of the page. Even though dev.copy2eps is meant for
creating files that are to be included into other documents, you
might want to print the figure directly, just to see how it will
look on paper. (Of course, this will only work if the figure 
is not larger than the papersize.) When the figure is in the
left bottom corner, this is a bit awkward, because marks too
close to the edge will get lost.

I suggest to put the figure at the centre of the default paper
size (or perhaps the papersize as set as an argument by the
user). It won't matter for EPS-inclusion were on the paper
the figure is, as long as the boundingbox is set correctly.
I redefined dev.copy2eps in my ~/.Rprofile with the above line
replaced by:

    oc$paper <- "default"

-- 
Peter Kleiweg
http://www.let.rug.nl/~kleiweg/

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._