[Rd] wishlist boxplot (PR#13553)
ligges at statistik.tu-dortmund.de
ligges at statistik.tu-dortmund.de
Tue Feb 24 18:20:10 CET 2009
[CCing Martin and Brian who had both done most svn commits of boxplot.R
so far]
A very minor wishlist item that I should have already reported years ago:
All the time when I need presentation/publication quality boxplots, I
add par(lend=1) in my code in order to suppress the ugly median line
that does not stop at the end of the box given the rounded line endings.
Ugly example:
boxplot(1:10, lwd=30)
I'd like the following very minor change for boxplots:
D:\Rcompile\recent\R\src\library\graphics\R>diff -u boxplot.R boxplot-new.R
--- boxplot.R 2009-02-24 18:04:47.265625000 +0100
+++ boxplot-new.R 2009-02-24 18:10:02.000000000 +0100
@@ -148,7 +148,7 @@
## Median
xysegments(xP(x, -wntch), stats[3L],
xP(x, +wntch), stats[3L],
- lty = medlty[i], lwd = medlwd[i], col = medcol[i])
+ lty = medlty[i], lwd = medlwd[i], col = medcol[i], lend=1)
xypoints(x, stats[3L],
pch = medpch[i], cex = medcex[i], col= medcol[i], bg =
medbg[i])
## Whiskers
Best wishes,
Uwe Ligges
More information about the R-devel
mailing list