From: Daniel J S. <dan...@ie...> - 2006-03-03 18:47:15
|
Petr Mikulik wrote: >>> Example 1: >>> plot 'measure.dat' >>> if fileexist('fit.dat') replot 'fit.dat' Not so sure about the syntax "fileexist". >>> Actually, what some users ask for real-time plotting, is something >>> like >>> pause untilfileexist "next.dat" >>> pause untilfilechanged "next.dat" When a file is open by another program and is being written to, it appears in the directory. So wouldn't one have to wait until the file is closed to be certain that reading it will give you all the data meant for plotting? Dan |