Hi, Sorry for bothering your guys again. I am trying to use "par" to put 6 figures into 3 rows and 2 columns. My code is: op <- par(mfrow = c(1, 2)) xyplot(x1+x2+x3 ~ y, data=resulta, type="l", pch=LETTERS[1:3], lty=c(1:3), main="For k=3, theata1=1") xyplot(x1+x2+x3 ~ y, data=resultb, type="l", pch=LETTERS[1:3], lty=c(1:3), main="For k=3, theata1=5") xyplot(x1+x2+x3 ~ y, data=resultc, type="l", pch=LETTERS[1:3], lty=c(1:3), main="For k=5, theata1=1") xyplot(x1+x2+x3 ~ y, data=resultd, type="l", pch=LETTERS[1:3], lty=c(1:3), main="For k=5, theata1=5") xyplot(x1+x2+x3 ~ y, data=resulte, type="l", pch=LETTERS[1:3], lty=c(1:3), main="For k=10, theata1=1") xyplot(x1+x2+x3 ~ y, data=resultf, type="l", pch=LETTERS[1:3], lty=c(1:3), main="For k=10, theata1=5") par(op) But I can only get one figure in one page, not 6 figures in one page. Is there any other parameter I should specify? There is no error indicated. Thank you so much! Catherine
-- View this message in context: http://www.nabble.com/Question-about-using-%E2%80%9Cpar%E2%80%9D-tf4894997.html#a14019058 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.