Install libplplot-ocaml by entering the following commands in the terminal:
sudo apt update sudo apt install libplplot-ocaml
OCaml bindings for the scientific plotting library
PLplot is relatively small, portable, freely distributable, and is rich enough to satisfy most users. It has a wide range of plot types including line (linear, log), contour, 3D, fill, and almost 1000 characters (including Greek and mathematical) in its extended font set. The package is designed to make it easy to quickly get graphical output; only a handful of function calls is typically required. For more advanced use, virtually all aspects of plotting are configurable. . This package provides the OCaml bindings for PLplot.