Shapes for the ends and joins of lines

Shapes for the ends and joins of lines

plot(0:10,0:10,type="n",xlab="",ylab="")
> lines(c(2,5,8),c(8,2,8),lwd=50,lend="square",ljoin="mitre")
> lines(c(2,5,8),c(8,2,8),col="green",lwd=50,lend="round",ljoin="round")
> lines(c(2,5,8),c(8,2,8),col="blue",lwd=50,lend="butt",ljoin="bevel")
https://www.r-languagestatistics.co

Reactions

Post a Comment

0 Comments