bezierplot – Approximate smooth function graphs with cubic bezier splines for use with TikZ or METAPOST
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.
Sources | /macros/luatex/latex/bezierplot |
Documentation | |
Repository | https://github.com/linusromer/bezierplot |
Version | 1.6 2024-11-02 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2018–2024 Linus Romer |
Maintainer | Linus Romer |
Contained in | TeX Live as bezierplot MiKTeX as bezierplot |
Topics | LuaTeX Graphics plot Graphics plot function Use Lua |
Download the contents of this package in one zip archive (272.0k).
Announcements
- 2024-11-03 CTAN update: bezierplot
- 2024-03-23 CTAN update: bezierplot
- 2019-06-19 CTAN Update: bezierplot
Suggestions
Maybe you are interested in the following packages as well.
Community Comments