<<Rplot001.png>> <<Rplot002.png>>
<<Rplot003.png>> <<Rplot004.png>>
Indeed, the problem persists. My code was using a for() loop:
##
png()
for (i in seq(1, 16, 4)) {
par(mfrow=c(2, 2))
for (gt in i:(i+3)) {
mysep <- paste(rep(' ', i), collapse='')
plot(density(rnorm(1000)), main=paste(i, gt, sep=mysep))
for (j in 1:5) {
lines(density(rnorm(1000)), lty=4, col="gray")
}
}
}
dev.off()
##
The code works fine on Windows.
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.2
year 2003
month 01
day 10
language R
Mark Wilkinson
Informatics Analyst
St. Jude Children's Research Hospital
Department of Pharmaceutical Sciences
The opinions expressed here are my own and do not necessarily represent
those of St. Jude Children's Research Hospital.
-----Original Message-----
From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk]
Sent: Wednesday, March 12, 2003 2:39 PM
To: Allin Cottrell
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] png plots
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, or this will remain
little more than hearsay... I mean, we'll take your word that the
effect exists, but what can we do about it?
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rplot001.png
Type: application/octet-stream
Size: 6572 bytes
Desc: not available
Url :
https://stat.ethz.ch/pipermail/r-help/attachments/20030312/1962fdcc/Rplot001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rplot002.png
Type: application/octet-stream
Size: 8100 bytes
Desc: not available
Url :
https://stat.ethz.ch/pipermail/r-help/attachments/20030312/1962fdcc/Rplot002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rplot003.png
Type: application/octet-stream
Size: 9409 bytes
Desc: not available
Url :
https://stat.ethz.ch/pipermail/r-help/attachments/20030312/1962fdcc/Rplot003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rplot004.png
Type: application/octet-stream
Size: 10060 bytes
Desc: not available
Url :
https://stat.ethz.ch/pipermail/r-help/attachments/20030312/1962fdcc/Rplot004.obj