[R] 2.7.0 graphics changes and png devices

Oliver Soong osoong at gmail.com
Tue May 20 01:23:27 CEST 2008


Hi,

I have a question about the graphics changes in 2.7.0.  The example is
this bit of code:

par(mfcol = c(2, 3))
for(i in 1:6) plot(1:10, 1:10, xlab = "xlab", ylab = "ylab", main = "main")

In 2.7.0, if I do this interactively (using windows()), I get bold
titles.  If I do this through a png device, I get regular weight
titles.  If I do this in 2.6.2, both situations give bold titles.

I assume the 2.7.0 png device is off here, but I'm not sure how to fix
this.  Suggestions?

Oliver



More information about the R-help mailing list