$ luarocks install lua-matplotliblua-matplotlib is a zero-dependency, pure-Lua graphics library that provides:
* A high-level Figure API (matplotlib-like): line plots, scatter plots,
bar charts, area fills, automatic axes/ticks/legend.
* A low-level Canvas API: pixels, lines, rectangles, circles, ellipses,
polygons, Bézier curves, arcs, bitmap text.
* A built-in PNG encoder (no external tools required).
Requires only standard Lua 5.1+; works with LuaJIT and Lua 5.4.
Versions
Dependencies
lua >= 5.1