Message-ID: <20090521102305.GA6153@anakin.ifi.uio.no>
Date: 2009-05-21T10:23:05Z
From: Zeljko Vrba
Subject: postscript problems (landscape orientation)
I use the following function to export some figures to .eps:
p.eps <- function(p, fname, title = NULL, width, height)
{
postscript(file=fname, onefile=FALSE, paper="special",
width=width, height=height, horizontal=FALSE)
print(p + opts(title = title))
dev.off()
}
Whenever I have a page consisting of *only* figures exported in this way,
Acrobat Reader shows them in landscape. If the figures are mixed with
text, the page retains its portrait orientation.
Any ideas on what's going wrong?