Install libplot-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libplot-dev
GNU plotutils libraries (development files)
The GNU plotting utilities include programs for plotting two-dimensional scientific data. They are built on top of GNU `libplot', a library for device-independent two-dimensional vector graphics. . This package contains the header files and static libraries necessary for building programs which use libplot.