gnuplot安装

在使用libsvm的过程中,会用到gnuplot,具体安装过程如下所示。
1.下载gnuplot(版本4.6.3)
2.解压文件
       tar zxvf gnuplot-4.6.3.tar.gz
3.配置安装路径
       cd gnuplot-4.6.3
       ./configure --prefix=/public/software/gnuplot
4.编译
       make
5.安装
       make install
6.启用环境
       source /etc/profile.d/gnuplot.sh
7. 修改libsvm/tools/easy.py中,gnuplot的路径:
修改:gnuplot_exe = "/usr/bin/gnuplot"
为:  gnuplot_exe = "/public/software/gnuplot/bin/gnuplot"
8 运行即可: cd tools
            python easy.py ../heart_scale

posted @ 2013-05-06 21:01  java程序员填空  阅读(424)  评论(0编辑  收藏  举报