plot: Plot the diagram of a Knot object.

Description Methods Author(s) See Also Examples

Description

Plot method that produces the knot or link diagram for an object of class 'Knot'

Methods

signature(x = "Knot")

Author(s)

Federico Comoglio, federico.comoglio@bsse.ethz.ch

See Also

Knot-class

Examples

1
2
3
4
5
6
7
8
9
knot <- makeExampleKnot(k = TRUE)
knot <- newKnot(knot)
link <- makeExampleKnot(k = FALSE)
link <- newKnot(link$points3D, link$ends)

plot(knot)
plot(knot, lwd = 2.5) #to emphasize the overcrossings
plot(link)
plot(link, lwd = 2.5) #to emphasize the overcrossings

Rknots documentation built on May 1, 2019, 10:19 p.m.