Install libplplot-ocaml-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libplplot-ocaml-dev
OCaml support for the PLplot plotting library (development files)
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 development package for PLplot OCaml bindings.