Install libpgplot0 by entering the following commands in the terminal:
sudo apt update sudo apt install libpgplot0
PGPLOT replacement shared lib based on giza
Giza is a lightweight scientific plotting library built on top of cairo that provides uniform output to multiple devices. Giza also provides a drop-in, modern replacement for the PGPLOT graphics library. . This package provides a free replacement for the PGPLOT shared lib.