|
From: Theo H. <th...@ph...> - 2005-07-18 12:49:12
|
Dmitri A. Sergatskov wrote: > Any idea why zooming with mouse does not work if I do: > > echo "set mouse; plot sin(x)" | gnuplot -persist > > ? > (on linux/x86 - FC4 and FC3) > > The problem came about when I was trying to figure out why zooming > with mouse does not work on octave on MacOSX (with X11 term). > There is no problem with that on linux/x86 though... > > I tried both gnuplot-4 and a recent cvs snapshot. This is exactly the expected behaviour. gnuplot sees end of input from the pipe and quits. The x11 helper program gnuplot_x11 keeps running, as requested by -persist, but has nowhere to send the mouse events since gnuplot has finished. Hence, no mousing. Note that you get the shell command line immediately after running the above command, despite not putting gnuplot in the background, indicating that gnuplot has finished. To verify, use ps or top. THeo |