CTAN Comprehensive TeX Archive Network

CTAN Up­date: bezier­plot

Date: June 11, 2018 5:23:31 PM CEST
Li­nus Romer sub­mit­ted an up­date to the bezier­plot pack­age. Ver­sion: 1.1 2018-06-10 Li­cense: lp­pl1.3c Sum­mary de­scrip­tion: Ap­prox­i­mate smooth func­tion graphs with cu­bic bezier splines for use with TikZ or Me­taPost An­nounce­ment text:
Three bugs have been re­moved: x^4+1 did not work be­cause the func­tion do_pa­ram­e­ters_fit did not check the pa­ram­e­ters for be­ing not nan nor huge nor -huge x^6+1 did not work be­cause the nu­mer­i­cal deriva­tive 0 led to sev­eral lo­cal ex­trema just next to each other empty graphs should now not throw any er­rors any­more New fea­ture: xmin, xmax, ymin, ymax may now be com­putable ex­pres­sions, hence you can type now bezier­plot "sin(x)" -pi pi -3*7 2*e+1
The pack­age’s Cat­a­logue en­try can be viewed at https://ctan.org/pkg/bezier­plot The pack­age’s files them­selves can be in­spected at http://mir­ror.ctan.org/macros/lu­a­tex/la­tex/bezier­plot/
Thanks for the up­load. For the CTAN Team Pe­tra Rübe-Pugliese
We are sup­ported by the TeX users groups. Please join a users group; see https://www.tug.org/user­groups.html .

bezier­plot – Ap­prox­i­mate smooth func­tion graphs with cu­bic bezier splines for use with TikZ or

This pack­age con­sists of a Lua pro­gram as well as a (Lua) .sty file.

Given a smooth func­tion, bezier­plot re­turns a smooth bezier path writ­ten in TikZ no­ta­tion (which also matches ) that ap­prox­i­mates the graph of the func­tion. For poly­no­mial func­tions of de­gree ≤ 3 and their in­verses the ap­prox­i­ma­tion is ex­act (up to nu­meric pre­ci­sion).

bezier­plot also finds spe­cial points such as ex­treme points and in­flec­tion points and re­duces the num­ber of used points.

Ver­sion1.1 2018-06-10
Copy­right2018 Li­nus Romer
Main­tainerLi­nus Romer



Guest Book Sitemap Contact Contact Author