|
From: Jingzhao Ou <ja...@ya...> - 2005-02-23 01:11:22
|
Dear all, I installed Gnuplot 4.0 on a RedHat Linux box. It seems to be working fine from the bash command line. I planned to use Gnuplot for online plotting, some thing like what is showing on the following URL: http://www.srcf.ucam.org/~sea31/ I ran a gnuplot script test.dem on PHP as the following: system("gnuplot test.dem"); However, I failed to get any output from Gnuplot even though running "gnuplot test.dem" directly in the bash command line would give me the desired result. I tried also CGI written in Perl. I can run the Perl script on the bash command line and generate the desired ps file. However, when I run it through CGI, I got nothing! I searched Google. It seems that quite some people encountered similar problems. But I failed to find out the answers to the question. Can any one kindly give me a hand! Thanks a lot for your help!!! Best regards, Jingzhao |