gnuplot 的安装

gnuplot 的安装

一款好用的linux画图软件。不走弯路,一遍安装成功!

  • prepare environment
    yum install zlib-devel libpng-devel libjpeg-devel libwebp-devel libtiff-devel freetype-devel fontconfig-devel libXpm-devel

  • liq library:下载liq库,解压进入该目录

https://pngquant.org/lib/
https://github.com/ImageOptim/libimagequant
./configure && make && make install

  • libcerf: 下载libcerf库,解压进入该目录

https://sourceforge.net/projects/libcerf/
./configure && make && make install

  • libgd:下载libgd库,解压进入该目录

http://libgd.github.io/pages/downloads.html
./configure && make && make install

  • gnuplot:下载gnuplot,解压进入该目录

http://gnuplot.sourceforge.net/
./configure && make && make install

  • 运行
    gnuplot
    > set terminal png
    > set output "1.png"
    > plot sin(x)

后续会记录一些使用的样例。如有其它疑问请联系博主一起讨论学习。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。