Re: [R] lines(..., lwd=3) inaccuracy

2011-06-16 Thread Sarah Goslee
On Thu, Jun 16, 2011 at 3:43 PM, Prof Brian Ripley wrote: > On Thu, 16 Jun 2011, Sarah Goslee wrote: > >> Hi Frank, >> >> It's not inaccuracy, exactly, and it's intentional. >> >> The default behavior is to use a round endcap on a line, and with such >> a large linewidth that endcap is arcing belo

Re: [R] lines(..., lwd=3) inaccuracy

2011-06-16 Thread Prof Brian Ripley
On Thu, 16 Jun 2011, Sarah Goslee wrote: Hi Frank, It's not inaccuracy, exactly, and it's intentional. The default behavior is to use a round endcap on a line, and with such a large linewidth that endcap is arcing below and above the starting points. This being R, there's a par for that: putt

Re: [R] lines(..., lwd=3) inaccuracy

2011-06-16 Thread Sarah Goslee
Hi Frank, It's not inaccuracy, exactly, and it's intentional. The default behavior is to use a round endcap on a line, and with such a large linewidth that endcap is arcing below and above the starting points. This being R, there's a par for that: putting lend=1 in your lines() statements will g

[R] lines(..., lwd=3) inaccuracy

2011-06-16 Thread Frank Harrell
Using a line width > 1 results in not only a thicker line but also some fuzz in the other direction, as shown in this example program. You will see that the thick vertical black lines extend below the gray scale horizontal lines. Does anyone know whether this is intended or is it a bug? The appl