P
Pen Ttt
i want to call gnuplot from ruby,my ruby script:
`gnuplot` <<EOF
plot sin(x)
EOF
pt@pt-laptop:~$ ruby /home/pt/r.rb ,then i get :
G N U P L O T
Version 4.2 patchlevel 6
last modified Sep 2009
System: Linux 2.6.32-22-generic
Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'wxt'
`gnuplot` <<EOF
plot sin(x)
EOF
pt@pt-laptop:~$ ruby /home/pt/r.rb ,then i get :
G N U P L O T
Version 4.2 patchlevel 6
last modified Sep 2009
System: Linux 2.6.32-22-generic
Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'wxt'