Results 1 to 1 of 1
The very same code which used to work fine in gnuplot (sorry, I donot remember the version) which was installed on Fedora7, causes the system to hang when run in ...
- 07-07-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 5
Gnuplot causes the computer to Hang
The very same code which used to work fine in gnuplot (sorry, I donot remember the version) which was installed on Fedora7, causes the system to hang when run in gnuplot(one of the most recent versions) that is installed in Fedora11. The code has been given below. However the system doesn't hang if the reread and replot commands are removed ( but the entire purpose of the code is changed). I have tried making several changes, but the problem is that, everytime the system hangs I need to Switch off the system by interrupting the power, which may lead to system failure. As I am a newbie to linux and gnuplot, I am totally stuck. I will be really grateful if someone can guide me in rectifying the problem.
Thanks in advance.
set xlabel "Samples"
set ylabel "Voltage(Volts)"
plot "< tail -300 inp_out1" using 1 title "Channel 0" w lp , "< tail -300 inp_out1" using 2 title "Channel 1" w lp ;
pause 0.01;
replot;
reread
The code is supposed to display the recent 300 values of a real time input which gets logged onto the file inpout1. The code causes the same trouble even when the input is taken from a static file rather than from a real-time stream.


Reply With Quote