Plotting graphs using Lua

Packaged on:
11/23/2023 15:16:35
Number of files:
Size on disk:
15.3 kB

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: Pass plot points to the MetaPost system via luamplib. Pass plot points to the TikZ package.