# Directory `macros/luatex/latex/bezierplot`

README

DESCRIPTION: bezierplot is a Lua program as well as a (Lua)LaTeX package. 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 inverses of them, the approximation is exact. bezierplot finds special points such as extreme points and inflection points and reduces the number of used points. VERSION: 1.4 2019-06-18 LICENSE: The package and the program are distributed on CTAN under the terms of the LaTeX Project Public License (LPPL) version 1.3c. Copyright (c) 2018 Linus Romer Please write to linus dot romer at gmx dot ch to submit bug reports, request new features, etc.

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

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

Repository | https://github.com/linusromer/bezierplot |

Version | 1.4 2019-06-18 |

Licenses | The LaTeX Project Public License 1.3c |

Copyright | 2018 Linus Romer |

Maintainer | Linus Romer |

Contained in | TeX Live as bezierplot MiKTeX as bezierplot |

Topics | LuaTeX Graphics plot Graphics plot function Use Lua |