knotplot: Plotting of knots

Description Usage Arguments Details Author(s) Examples

Description

Routines to plot projections of knots with a wide range of user-settable options

Usage

1
2
3
4
knotplot(x, ou, gap=20, n=100, lwd=8, setup=TRUE, ...)
knotplot2(x, rainbow=FALSE, seg=FALSE, text=FALSE, cross=FALSE, ink=FALSE,
                node=FALSE, width=TRUE, all=FALSE, n=100, circ=1000,
                lwd=8, setup=TRUE,...)

Arguments

x

Description of a knot, coerced to a controlpoints object and a minobj object

rainbow,seg,text,cross,ink,node,all,width,circ

Variables controlling sundry knotplot() features; see details

ou,gap

Variables controlling sundry knotplot2() features; see details

n

Number of points on each Bezier curve

lwd

Width of line to use

setup

Boolean, with default TRUE meaning to set up a new plot, and FALSE meaning to just add points and lines to an existing plot

...

Further arguments, passed to plot() and points()

Details

Function knotplot() is useful for production-quality plotting of knots with crossings indicated; knotplot2() is more useful for development.

For knotplot2():

For knotplot():

Author(s)

Robin K. S. Hankin

Examples

1
2
3

knotR documentation built on May 1, 2019, 9:10 p.m.