From: <kai...@t-...> - 2003-02-05 09:44:00
|
Andrew Straw wrote: > Sorry, my error report was premature -- deleting my old Gnuplot > module before re-installing fixes the problem. > > And I now have working mouse zoom! Unfortunately, I cannot get this > to work with fifos -- it seems the "file" is unlinked immediately > after gnuplot gets it the first time, and gnuplot wants it again when > trying to zoom. I assume that the mouse-zoom feature is implemented (under the hood) by calling the equivalent of "replot", which causes gnuplot to try to read the file again. The whole point of the FIFO code is that after Gnuplot.py has written the data once through the FIFO it can assume that gnuplot is done with the data and therefore the pseudo-file can be deleted. This, in turn, was a trick to get around the problem of otherwise not knowing when normal temporary files could be deleted. So I'm not surprised to hear that mouse-zoom doesn't work with FIFOs. If you can think of a strategy to get around this problem, please let me know. > The same thing does work when fifos and inline are off, although in > that case, plot is not called a 2nd time. Perhaps the 2nd call to > plot with fifos is a gnuplot OS X oddity? I hope so; otherwise the FIFO workaround for the temporary file problem isn't a good one! Michael -- Michael Haggerty mh...@al... |