[R] simple postscript question

David Winsemius dwinsemius at comcast.net
Mon Oct 14 18:57:06 CEST 2013


On Oct 14, 2013, at 8:52 AM, Troels Ring wrote:

> Dear friends - following instructions via google I managed to have the following eps accepted well in words - but I cannot get a decent postscript print from Gswiew, latest edition. The ylab is printed only in half, the par(mar seems inconsequential. I hope you will forgive this simple question.
> Best wishes
> Troels Ring
> Aalborg, Denmark
> Windows 7, R 3.0.1
> 
> postscript(file="fig1.eps", horizontal = FALSE, onefile = FALSE,
> pagecentre=TRUE,paper = "special",colormodel = "rgb",width=8,height=8)
> par(cex=1.25,cex.lab=1.25,cex.axis=1.5,mar=c(5.1,5,4,2))
> xyplot(Ammonium+SID~time|GRP,comb1,type=c("p","smooth"),
> ylab="Ammonium excretion (line) and SID excretion (stippled), mmol/day")
> dev.off()
> 

`par` is used for base graphics. xyplot is a lattice/grid function. There are specific methods describe in the documentaiton of xyplot for handling par-type-settings in lattice functions.

Furthermore, you have not yet appreciated FAQ 7.22

--

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list