Jean lobry
2009-Sep-25 18:24 UTC
[Rd] Wish for stripchart to handle pch %in% 21:25 with bg
Dear R-Devel, consider : ### x <- round(rnorm(50)) stripchart(x, pch = 21, col = "black", bg = "pink", method = "jitter") points(0.5, 1, pch = 21, col = "black", bg = "pink", cex = 2) ### Under R 2.9.0 the internal color of the single point produced by points() was honored but not the color of the points produced by stripchart(). My wish is just that the "bg" parameter for internal point color should not be lost by the stripchart() function. This looks somewhat similar for the entry in NEWS for R 2.7.2 stating that: o stripchart() now passes '...' to title() (as well as to plot.default() and axis()). (Wish of PR#12202) A simple fix that works for me is to forward the argument ... to the function points() in graphics:::stripchart.default(), but I know nothing about potential side effects. Thanks for your amazing work, Pr. Jean Lobry -- Jean R. Lobry (lobry at biomserv.univ-lyon1.fr) Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I, 43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE allo : +33 472 43 27 56 fax : +33 472 43 13 88 http://pbil.univ-lyon1.fr/members/lobry/