CTAN Update: bezierplot
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.
|Copyright||2018 Linus Romer|
- 2018-07-24 CTAN update: bezierplot
- 2018-06-11 CTAN Update: bezierplot
- 2018-04-14 New on CTAN: bezierplot