Skip to content

bezierplot is a Lua program that approximates function plots by cubic bézier splines (paths are output in TikZ)

License

Notifications You must be signed in to change notification settings

linusromer/bezierplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bezierplot

Given a smooth function, bezierplot returns a smooth bezier path written in tikz. It finds special points such as extreme points and inflection points and reduces the number of used points.

bezierplot-nodes1

The upper graph of sqrt(x) used bezierplot, the lower used the built-in plotting function of tikz with 100 samples (no smoothing) and is still quite inexact at the beginning.

bezierplot-nodes2

For more information read the documentation.

Author

Linus Romer

About

bezierplot is a Lua program that approximates function plots by cubic bézier splines (paths are output in TikZ)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages