Displaying 2 results from an estimated 2 matches for "capround".
1997 Jul 30
0
R-alpha: more on line types
...there a particular reason that default line width in PostScript
is 0.75 and not 1.0?
*** devX11.c.orig Tue Jul 29 16:44:19 1997
--- devX11.c Wed Jul 30 10:21:43 1997
***************
*** 389,395 ****
if(newlty != lty) {
if(newlty == 0) {
! XSetLineAttributes(display, wgc, 1, LineSolid, CapRound, JoinRound);
lty = newlty;
}
else {
--- 389,395 ----
if(newlty != lty) {
if(newlty == 0) {
! XSetLineAttributes(display, wgc, GP->lwd, LineSolid, CapRound, JoinRound);
lty = newlty;
}
else {
***************
*** 400,406 ****
newlty = newlty>>4;...
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,