Paul Smith wrote: > Dear All, > > Consider the following code: > > pdf(file="figure.pdf",family="URWPalladio") > > curve(dlnorm(x,0,1.5),0,10,xlim=c(0,10),ylim=c(0,0.85),axes=F,xlab="",ylab="f") > segments(exp(-1.5^2),0,exp(-1.5^2),dlnorm(exp(-1.5^2),0,1.5),lty="dashed") > segments(1,0,1,dlnorm(1,0,1.5),lty="dashed") > segments(exp(1.5^2),0,exp(1.5^2),dlnorm(exp(1.5^2),0,1.5),lty="dashed") > axis(2) > axis(1,at=c(exp(-1.5^2),1,exp(1.5^2)),labels=c(expression(mu[0]),expression(mu[e]),expression(mu))) > box() > > dev.off() > > and now: > > embedFonts("figure.pdf") > > The figure.pdf gets rotated. Any ideas about how to prevent the > rotation? I am using R 2.5.1 on F7 (Linux). > > embedFonts("figure.pdf", options="-dAutoRotatePages=/None")
Or stick the same thing into the environment variable GS_OPTIONS and begone with the autorotation misfeature for good. (As far as I remember, this is neither the fault of R nor Ghostscript.) -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.