Gnuplot is an incredibly useful command-line plotting program for Windows and Unix-like systems. However, one thing it does not do out-of-the-box (as of now) is incremental plotting -- that is, plotting a data file every n seconds while the data file is being updated. With incremental plotting, you too can have Hollywood-like displays of the output of your programs as it is being generated. It's also very useful in some situations.
This tiny, 13 line Perl script will let you do incremental plots: incplot
incplot <seconds between updates>The script reads Gnuplot commands from standard input and pipes them to Gnuplot every n seconds, where n is the optional command line argument. If you type in Gnuplot commands from the terminal, remember to hit CTRL+D when you're done, and the incremental plotting will start. Alternatively, you could pipe in an existing Gnuplot script like this:
incplot 5 < script.gnuThis will pipe the contents of script.gnu to Gnuplot every 5 seconds, causing your display to update very 5 seconds. When you're done watching the plots change, hit CTRL+C to kill the incremental plotting process.