Do you want to put two figures into one pdf page?
pdf(file="testpdf.pdf")
par(mfrow = c(2, 1))
plot((1:20)^2,1:20,type="b",lwd=4,col="blue")
lines((1:20)^3,1:20,type="b",lwd=4,col="red")
plot((1:20)^4,1:20,type="b",lwd=4,col="green")
lines((1:20)^5,1:20,type="b",lwd=4,col="yellow")
dev.off()

-----
A R learner.
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Plotting-multiple-layers-maps-on-same-page-tp2312223p2312776.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to