[Rd] R-2.6.0 for Windows, semi-transparent colours and layout()

From: Henric Nilsson (Public) <nilsson.henric_at_gmail.com>
Date: Sat, 15 Sep 2007 15:33:14 +0200


Hi,

The added support for semi-transparent colours in `windows' under R-2.6.0 for Windows is much appreciated.

However, I've discovered that issuing a `layout' (or `par' with arguments `mfcol'/`mfrow') call and then trying to plot several figures with semi-transparent colour on the same page results in only the first one being fully drawn. E.g.

> x <- rnorm(10000)
> y <- rnorm(10000)
>
> layout(matrix(1:2, ncol = 2))
> plot(y ~ x, pch = 16, col = rgb(1, 0, 0, 0.15))
> plot(y ~ x, pch = 16, col = rgb(1, 0, 0, 0.15))

results in the second one having only the axes and box, but no data points. This is under

> sessionInfo()

R version 2.6.0 alpha (2007-09-14 r42843) i386-pc-mingw32

locale:
LC_COLLATE=Swedish_Sweden.1252;LC_CTYPE=Swedish_Sweden.1252;LC_MONETARY=Swedish_Sweden.1252;LC_NUMERIC=C;LC_TIME=Swedish_Sweden.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

Henric



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 15 Sep 2007 - 13:36:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Sep 2007 - 18:40:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.