gnuplot 安裝後若需要 png 類型的輸出,可以依以下步驟安裝:
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get build-dep gnuplot
sudo apt-get install libgd-dev libpng-dev
wget https://sourceforge.net/projects/gnuplot/files/gnuplot/5.2.8/gnuplot-5.2.8.tar.gz
tar -xzf gnuplot-5.2.8.tar.gz
cd gnuplot-5.2.8
./configure --with-gd --with-png
make
mack check
sudo make install