plotDiagram(points3D, ends, pca = FALSE, size = 1, colors = c(), return.vars=FALSE, ...)
plot
.return.vars
is TRUE, it returns a list with the following elementspoints3D
containing the coordinates of the undercrossingspoints3D
containing the coordinates of the overcrossingspoints3D
.return.vars=TRUE
.
The use of the parameter lwd
is recommended in order to increase the line width of the overcrossings.
This can be particularly useful when large structures are represented. See the examples below.plotKnot3D
##Represent 12 randomly selected link diagrams
par(mfrow = c(3,4))
for(i in 1 : 12) {
link <- makeExampleKnot( k = FALSE )
link <- AlexanderBriggs(link$points3D, link$ends)
plotDiagram(link$points3D, link$ends, main = i, lwd = 1.5)
}
Run the code above in your browser using DataLab