Hi, it only happens using png(). It does not if I *.emf, *.jpg or *.bmp. A simple reproducable example (from the print.trellis help file): ########################## outfile <- ".../outfile.png" ### ... = your output directory p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height", main="Ingo's title") p2 <- histogram( ~ height, data = singer, xlab = "Height") png(outfile, width=800, height=800) print(p11, split=c(1,1,1,2), more=TRUE) print(p2, split=c(1,2,1,2)) dev.off() ######################## I use R 2.6.0 (2007-10-03) on WindowsXP. Thanks, Ingo
spplot legends for each subplot
2 messages · Ingo Holz, Edzer Pebesma
... and I can't reproduce it under Linux, where "Ingo's title" happily appears. I guess r-help would be the right place to ask this question. Remove the ".../" before outfile.png, so it might run straight away. -- Edzer
Ingo Holz wrote:
Hi, it only happens using png(). It does not if I *.emf, *.jpg or *.bmp. A simple reproducable example (from the print.trellis help file): ########################## outfile <- ".../outfile.png" ### ... = your output directory p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height", main="Ingo's title") p2 <- histogram( ~ height, data = singer, xlab = "Height") png(outfile, width=800, height=800) print(p11, split=c(1,1,1,2), more=TRUE) print(p2, split=c(1,2,1,2)) dev.off() ######################## I use R 2.6.0 (2007-10-03) on WindowsXP. Thanks, Ingo
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo