[R] png plots

Allin Cottrell cottrell at wfu.edu
Wed Mar 12 22:04:47 CET 2003


On Wed, 12 Mar 2003, Peter Dalgaard BSA wrote:

> Allin Cottrell <cottrell at wfu.edu> writes:
>
> > I am seeing the same thing (with R 1.6.2 on Linux i686).  My input
> > file generated 4 plot files.  The first two were fine, but the last 2
> > featured a weird overlay of the remaining graphs.  The problem is not
> > seen with postscript of pdf output.
>
> Please, provide us with a reproducible example...

Sorry, here's one:

library(tseries)
data(EuStockMarkets)
dax <- diff(log(EuStockMarkets))[,"DAX"]
dax.garch <- garch(dax)
png()
plot(dax.garch)
dev.off()

Allin Cottrell



More information about the R-help mailing list