Re: [R] orientation of eps files

From: Arne Henningsen <ahenningsen_at_email.uni-kiel.de>
Date: Thu 03 Mar 2005 - 05:02:49 EST

I also had problems with the rotation of eps files in LaTeX presentations. Now, I produce eps files in R with postscript( ), 'distill' it with "ps2eps", make a pdf with "epstopdf", include it in my LaTeX file with \pgfimage{ }, use LaTeX class "beamer" (http://latex-beamer.sourceforge.net) and compile my presentation with pdflatex. This works great!

HTH,
Arne

On Wednesday 02 March 2005 14:44, Andrew Collier wrote:
> hello,
>
> i have a problem with the orientation of eps files produced with the
> postscript() command. i have generated some eps files with R using:
>
> postscript(file = filename, horizontal = FALSE, paper = "special", onefile
> = F ALSE, height = height, width = width, pointsize = pointsize)
>
> now, when i include these eps files into a standard paper document (ie. a4
> paper, portrait orientation) everything is fine.
>
> however, i am now wanting to incorporate the same images into a
> presentation. i am making a pdf file, which for presentation purposes is in
> landscape orientation. i am using latex with the prosper package. images
> are included with \includegraphics{} and a pdf file is generated with
> dvipdf. however, in this case, when i include the eps figures the whole
> page suddenly gets rotated around into portrait. eps files from other
> packages seem to work fine.
>
> there is an example of the problem at
> ftp://chinstrap.nu.ac.za/orientation.pdf.
>
> if you have any ideas as to what might be causing this problem, i would be
> extremely happy to hear them.
>
> best regards,
> andrew.

-- 
Arne Henningsen
Department of Agricultural Economics
University of Kiel
Olshausenstr. 40
D-24098 Kiel (Germany)
Tel: +49-431-880 4445
Fax: +49-431-880 1397
ahenningsen@agric-econ.uni-kiel.de
http://www.uni-kiel.de/agrarpol/ahenningsen/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Mar 03 05:24:11 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:39 EST