[R] getting lines with non-rounded caps?

Trent Piepho xyzzy at speakeasy.org
Tue Sep 19 20:31:59 CEST 2000

I'm trying to get a plot with wide lines that don't have rounded end caps. 
You can see the effect quite clearly with a plot like this:


The colored lines should be between the horizontal lines, but because of the
rounded end caps, they aren't.

Under X11, if I set lty to something like "F0", the end caps are turned off. 
Unfortunately, the "0" appears to get ignored, and the line style is the same
as "FF", i.e. 16 units of drawn line, then 16 units of space.

With the postscript device, lines styles like "FF" still get rounded end caps,
unlike X11.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list