search for: capbutt

Displaying 2 results from an estimated 2 matches for "capbutt".

1997 Jul 30
0
R-alpha: more on line types
...XSetLineAttributes(display, wgc, GP->lwd, LineSolid, CapRound, JoinRound); lty = newlty; } else { *************** *** 400,406 **** newlty = newlty>>4; } XSetDashes(display, wgc, 0, dashlist, ndash); ! XSetLineAttributes(display, wgc, 1, LineOnOffDash, CapButt, JoinRound); } } --- 400,406 ---- newlty = newlty>>4; } XSetDashes(display, wgc, 0, dashlist, ndash); ! XSetLineAttributes(display, wgc, GP->lwd, LineOnOffDash, CapButt, JoinRound); } } Benjamin Bolker Dep't of Ecology and Evolutiona...
2000 Sep 19
3
getting lines with non-rounded caps?
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: plot(0:1) lines(c(1.5,1.5),c(0,.5),lwd=20,col="red") lines(c(1.5,1.5),c(.5,1),lwd=20,col="green") abline(h=0) abline(h=0.5) abline(h=1) The colored lines should be between the horizontal lines, but because of the rounded end caps,