# 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 | Graphics plot function METAPOST use Graphics metapost LuaTeX Graphics PGF TikZ |

Download the contents of this package in one zip archive (130.6k).

## Announcements

## Suggestions

Maybe you are interested in the following packages as well.

## Community Comments