|
From: Thomas S. <t.s...@fz...> - 2008-03-14 14:11:08
|
create a file named e.g. plotloop.gpl : plot '< tail -n 99 datafile' using ... pause 10 reread let your program write its data into 'datafile' and start the loop in gnuplot: load 'plotloop.gpl' every 10 seconds gnuplot will plot the newest 99 datapoints. gnuplot waits for an end-of-file or for a pipe being closed before plotting anything, that's why a '< tail -f ...' doesn't work. -- View this message in context: http://www.nabble.com/Plotting-data-file-while-writing-to-it-tp16032761p16048143.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |