[R] embedFonts rotates figure
Paul Smith
phhs80 at gmail.com
Mon Oct 8 21:31:37 CEST 2007
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).
Thanks in advance,
Paul
More information about the R-help
mailing list