linux gnuplot画图工具

一、安装gnuplotlinux服务器端)

1.下载gnuplot

wge  thttp://nchc.dl.sourceforge.net/project/gnuplot/gnuplot/4.4.0/gnuplot-4.4.0.tar.gz

tar-zxvf gnuplot-4.4.0.tar.gz

  cd  gnuplot-4.4.0

 ./configure--prefix=/public/software/gnuplot

  make

 make install


2、配置环境变量,编译/etc/profile.d/gnuplot.sh内容如下:

      export GNUPLOT=/usr/local/gnuplot

      export PATH=/usr/local/gnuplot/bin:$PATH

      export MANPATH=/usr/local/gnuplot/share/man/man1:$MANPATH

3.启用环境

      source   /etc/profile.d/gnuplot.sh

二、gnuplot的简单使用(Windows客户端)

1.我这里使用securecrt工具

2.下载并安装Xminghttp://sourceforge.net/projects/xming/

3.运行Xming

4.打开securcrt 回话选项,打开x11转发功能

vi/etc/ssh/sshd_config  确保有如下的行:

X11Forwardingyes


出现问题:Could not find/open font when opening font "arial",using internal non-scalable font

安装字库:wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm

加下面环境变量

export GDFONTPATH="/usr/share/fonts/msttcore"

export GNUPLOT_DEFAULT_GDFONT="arial"

例题:

http://chenlinux.com/2010/08/13/intro-gnuplot/


你可能感兴趣的:(gnuplot)