Directory macros/luatex/latex/luaplot
# The luplot package. # version 1.5 # Authors: Chetan Shirore and Ajit Kumar # Email: mathsbeauty@gmail.com # Introduction The luaplot package is developed using Lua to plot graphs of real-valued functions of a real variable in LaTeX. It is developed with the MetaPost system and 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 floating environments of LaTeX like tables and figures. The compilation time to plot several graphs in LaTeX using the luaplot package is significantly less with 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: parse plot points to the MetaPost system via luampblib. parse plot points to the tikz package. # License The luaplot package is released under the LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt. It is developed in Lua. Lua is available as a certified open-source software. Its license is simple and liberal, which is compatible with GPL. #Installation and Inclusion The installation of luaplot package is similar to plain latex package, where the .sty file is in LaTeX directory of texmf tree. The package can be included with \usepackage{luaplot} command in the preamble of the LaTeX document. The TeX file is to be compiled using the LuaLaTeX engine.
Download the contents of this package in one zip archive (130.6k).
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:
Package | luaplot |
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 | Graphics plot function Graphics metapost PGF TikZ LuaTeX Graphics METAPOST use |