Skip to content
Prev 221197 / 398500 Next

[RGL] Need help to modify current plot

Megh Dal wrote:
x=3 and x=4 specify planes, not lines, so you'll need to give more 
information to choose lines.  Here's one possibility:

save <- par3d(ignoreExtent=TRUE)
segments3d(c(3,3,4,4), c(min(y), max(y), min(y), max(y)), c(max(z), 
max(z), max(z), max(z)), col="red")
par3d(save)

Duncan Murdoch