Install libgraphics-gnuplotif-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libgraphics-gnuplotif-perl
Description:
dynamic Perl interface to gnuplot
Graphics::GnuplotIF is a simple and easy to use dynamic Perl interface to gnuplot. It enables sending display requests asynchronously to gnuplot through simple Perl subroutine calls. . Several independent plots can be started from one script. Each plot has its own pipe. All pipes will be closed automatically by the destructor when the script terminates. The gnuplot processes terminate when the corresponding pipes are closed. Their graphical output will then disappear (but see parameter persist|new).
Homepage: https://metacpan.org/release/Graphics-GnuplotIF
Version: 1.7-1
Section: universe/perl