[Rd] wishlist boxplot (PR#13553)

From: <ligges_at_statistik.tu-dortmund.de>
Date: Tue, 24 Feb 2009 18:20:10 +0100 (CET)

[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 = 

## Whiskers

Best wishes,
Uwe Ligges

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 24 Feb 2009 - 16:21:55 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 Tue 24 Feb 2009 - 16:30:46 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.

list of date sections of archive