derek
2011-Mar-13 13:31 UTC
[R] pdf device - different page orientation and different plot sizes
Hello R, I would like make single pdf file in which the the pages are are of mixed format. Manual states this code (down). The problem is the second "{}" overwrites the first "{}", but I want to append them. require(graphics) require(stats) HBA=read.table("file.txt",header =FALSE,sep = "", dec = ",",fileEncoding "", encoding = "unknown", skip=19,nrows=400) attach(HBA) { pdf(file ="file.pdf",width=3.2,height=2.5,paper="A4") par(mfrow=c(4,2)) plot(V1,V2,type = "l") lines(V29,V30) plot(V3,V4,type = "l") lines(V5,V6) dev.off() dev.off() } { pdf(file ="file.pdf",width=11,height=7,paper="A4r") par(mfrow=c(1,1)) plot(V1,V2,type = "l") lines(V29,V30) plot(V3,V4,type = "l") lines(V5,V6) dev.off() dev.off() } -- View this message in context: http://r.789695.n4.nabble.com/pdf-device-different-page-orientation-and-different-plot-sizes-tp3351881p3351881.html Sent from the R help mailing list archive at Nabble.com.