# CTAN Update: bezierplot

Date: June 11, 2018 5:23:31 PM CEST

Linus Romer submitted an update to the
bezierplot
package.
Version: 1.1 2018-06-10
License: lppl1.3c
Summary description: Approximate smooth function graphs with cubic bezier splines for use with TikZ or MetaPost
Announcement text:

Three bugs have been removed: x^4+1 did not work because the function do_parameters_fit did not check the parameters for being not nan nor huge nor -huge x^6+1 did not work because the numerical derivative 0 led to several local extrema just next to each other empty graphs should now not throw any errors anymore New feature: xmin, xmax, ymin, ymax may now be computable expressions, hence you can type now bezierplot "sin(x)" -pi pi -3*7 2*e+1

The package’s Catalogue entry can be viewed at https://ctan.org/pkg/bezierplot The package’s files themselves can be inspected at http://mirror.ctan.org/macros/luatex/latex/bezierplot/

Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese

We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

Three bugs have been removed: x^4+1 did not work because the function do_parameters_fit did not check the parameters for being not nan nor huge nor -huge x^6+1 did not work because the numerical derivative 0 led to several local extrema just next to each other empty graphs should now not throw any errors anymore New feature: xmin, xmax, ymin, ymax may now be computable expressions, hence you can type now bezierplot "sin(x)" -pi pi -3*7 2*e+1

The package’s Catalogue entry can be viewed at https://ctan.org/pkg/bezierplot The package’s files themselves can be inspected at http://mirror.ctan.org/macros/luatex/latex/bezierplot/

Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese

We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

## 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.

Package | bezierplot |

Version | 1.5 |

Copyright | 2018–2024 Linus Romer |

Maintainer | Linus Romer |