Skip to content
Prev 169599 / 398502 Next

Output results to a single postscript document

Hi Pele,
Surely I missed something? Is it not simply that you are turning off the
postscript device in the wrong place? At the moment you only seem to be
using the postscript device in the plotting/chart function.

 chart <- function(mod) {
	  postscript(file="fig.ps")
   	  par(mfrow=c(2,1)) 
   	  acf(residuals(mod)) 
   	  pacf(residuals(mod)) 
   	  dev.off()                }    ## don't turn it off here

Only turn it off when you have finished printing/plotting everything that
you want in it. You really do need to be more specific about what you have
in mind.

Regards, Mark.
Pele wrote: