lines3d {misc3d} | R Documentation |
Draw connected line segments in three dimensions.
lines3d(x,y,z,add=FALSE,...)
x,y,z |
coordinates of points to connect. |
add |
logical; if TRUE , add to current rgl graph. |
... |
material and texture properties. See rgl.material
for details. |
Daniel Adler, Oleg Nenadic and Walter Zucchini (2003) RGL: A R-library for 3D visualization with OpenGL
#Plot a three-dimensional helix. t = seq(0,10*pi,by=pi/50) lines3d(4*sin(t),4*cos(t),t,color="red")