CTAN Comprehensive TeX Archive Network

bezierplot – Approximate smooth function graphs with cubic bezier splines for use with TikZ or

This package consists of a Lua program as well as a (Lua) .sty file.

Given a smooth function, bezierplot returns a smooth bezier path written in TikZ notation (which also matches ) 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.

Version1.4 2019-06-18
LicensesThe Project Public License 1.3c
Copyright2018 Linus Romer
MaintainerLinus Romer
Contained inTeX Live as bezierplot
MiKTeX as bezierplot
TopicsGraphics plot
Use Lua
Graphics plot function

Download the contents of this package in one zip archive (255.5k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author