Marcus Eger
2002-Feb-05 07:24 UTC
[R] eps Portrait to pdf now rotated since gs6.5 --- why?
Hi list, this question has probably been answered but I haven't found a solution in the archives: The older ghostscript gs5.50 (debian,stable) deals well with R-plots: epstopdf yields pdfs with the same orientation as the eps-file. But, since gs6.5 (or earlier) the dimension of the plot is interpreted: if x-width exceeds y-width even a Portrait-eps is rotated to Landscape. A possible solution is to adjust the Orientation-Flag at eps-generation in R. Any ideas? Thanks Marcus -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
2002-Feb-05 07:32 UTC
[R] eps Portrait to pdf now rotated since gs6.5 --- why?
On Tue, 5 Feb 2002, Marcus Eger wrote:> this question has probably been answered but I haven't found > a solution in the archives: > The older ghostscript gs5.50 (debian,stable) deals well with R-plots: > epstopdf yields pdfs with the same orientation as the eps-file. > But, since gs6.5 (or earlier) the dimension of the plot is interpreted: if > x-width exceeds y-width even a Portrait-eps is rotated to Landscape. > > A possible solution is to adjust the Orientation-Flag at eps-generation in R.Are you following the advice in ?postscript and elsewhere? That is to produce portrait plots, and I have never seen a problem converting with gs (currently 7.03). However, R has long had a pdf device, so if you want pdf, why not generate it in R? -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._