luaplot

Plotting graphs using Lua

Version:
1.5
Copyright:
License:
lppl1.3c
Packaged on:
11/23/2023 15:16:35
Number of files:
2
Size on disk:
5.77 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.