luaplot – Plotting graphs using Lua
This package uses Lua to plot graphs of real-valued functions of a real variable in LaTeX. It furthermore makes use of the METAPOST system as well as the luamplib and luacode packages. It provides an easy way for plotting graphs of standard mathematical functions.
There is no particular environment in the package for plotting graphs. It also works inside LaTeX floating environments, like tables and figures. The compilation time for plotting several graphs in LaTeX using this package is significantly less with the LuaLaTeX engine.
The package is based on the core idea of loading mathematical functions inside Lua and determining plot points using different methods available in Lua. After determining plot points in Lua, two different approaches are used:
Sources | /macros/luatex/latex/luaplot |
Documentation | |
Version | 1.5 2023-11-17 |
Licenses | The LaTeX Project Public License 1.3c |
Maintainer | Chetan Shirore and Ajit Kumar |
Contained in | TeX Live as luaplot MiKTeX as luaplot |
Topics | PGF TikZ Graphics plot function LuaTeX Graphics metapost METAPOST use Graphics |
Download the contents of this package in one zip archive (130.6k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
- bezierplot: Approximate smooth function graphs with cubic bezier splines for use with TikZ or METAPOST
- tikz-feynman: Feynman diagrams with TikZ
- hershey-mp: METAPOST support for the Hershey font file format
- byrne: This package provides a set of tools to typeset geometric proofs in the style of Oliver Byrne's 1847 ed. of Euclid's "Elements"
Community Comments