bezierplot
Approximate smooth function graphs with cubic bezier splines for use with TikZ or MetaPost
- Version:
- 1.4
- Copyright:
- Linus Romer
- License:
- lppl1.3c
- Packaged on:
- 6/19/2019 8:11:14 PM
- Number of files:
- 6
- Size on disk:
- 282.94 kB
This package consists of a Lua program as well as a (Lua)LaTeX .sty file. Given a smooth function, bezierplot returns a smooth bezier path written in TikZ notation (which also matches MetaPost) that approximates the graph of the function. For polynomial functions of degree ≤ 3 and their inverses the approximation is exact (up to numeric precision). bezierplot also finds special points such as extreme points and inflection points and reduces the number of used points.