Learn R Programming

Rknots (version 1.3.0)

plot3D: 3D plot of an object of class 'Knot'

Description

Returns the 3D plot of an object of class 'Knot'

Usage

plot3D(knot, ...)

Arguments

knot
an object of class 'Knot'
...
other parameters for lines3d or spheres3d

Value

  • called for its effect.

Examples

Run this code
link <- makeExampleKnot(k = FALSE)
link <- newKnot(link$points3D, link$ends)

##plot with rgl
require(rgl)
plot3D(link)
plot3D(link, radius = 0.1)
plot3D(link, radius = 0.1, lwd = 10)

Run the code above in your browser using DataLab