Reputation: 23680
I can't figure out why there is an apparent maximum limit to the rgl
argument for an RGL function in R. segments3d()
cannot apparently support line widths over around 6-8, but this constraint doesn't seem to be documented. The example demonstrates:
require(rgl)
x = rep(sample(1:10,50, rep=T), each=2)
y = rep(sample(1:10,50, rep=T), each=2)
z = rep(sample(1:10,50, rep=T), each=2)
z[(1:50)*2] = 0
d = data.frame(x=x, y=y, z=z)
segments3d(d, lwd=2)
segments3d(d, lwd=8)
segments3d(d, lwd=50)
Any view on why this is happening?
Upvotes: 2
Views: 726
Reputation: 9656
This is not really an answer, just a demonstration of what I get.
segments3d(d, lwd=8)
segments3d(d, lwd=50)
Upvotes: 2