Hi all, 1) Solution to former riddle: ================== plt <- function(view,f,file="") { ## C.Hoffmann, 2001.03.14 if (view>0) f else { postscript(file=file,print.it=(view==0)) on.exit(dev.off()) f } } A call with an "f" containing "postscript" itself: plt(0,something with postscript()) results in the error: plot.new has not been called yet because one cannot do "postscript" more than once without first "dev.off"! 2) How can I provide margins to a plot involving split.screen? Using oldpar <- par(oma=c(4+1, 2+1, 4+1, 2+1), mar = c(4, 4, 2, 1)) on.exit(par(oldpar)) split.screen(figs=c(3,3)) seems NOT to make room for subsequent mtext(). Any hints? I did not find a clue in the help. Thank you. --christian Dr.sc.math.Christian W. Hoffmann Mathematics and Statistical Computing Landscape Modeling and Web Applications Swiss Federal Research Institute WSL Zuercherstrasse 111 CH-8903 Birmensdorf, Switzerland phone: ++41-1-739 22 77 fax: ++41-1-739 22 15 e-mail: Hoffmann at WSL.CH www: http://www.wsl.ch/staff/christian.hoffmann/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._