Does the value add set mouse?
(from gnuplot document)
The command `set mouse` enables mouse actions. Currently the pm, x11, ggi,
windows and wxt terminals are mouse enhanced. There are two mouse modes. The
2d-graph mode works for 2d graphs and for maps (i.e. splots with `set view`
having z-rotation 0, 90, 180, 270 or 360 degrees, including `set view map`)
and it allows tracing the position over graph, zooming, annotating graph etc.
For 3d graphs `splot`, the view and scaling of the graph can be changed with
mouse buttons 1 and 2. If additionally to these buttons the modifier <ctrl> is
hold down, the coordinate system only is rotated which is useful for large
data sets. A vertical motion of Button 2 with the shift key hold down changes
the `xyplane`.
Please note the following:
echo "plot sin(x); pause mouse keypress" | gnuplot -persist
but it will not be:
echo "plot sin(x)" | gnuplot -persist
since the gnuplot process must be available for the gnuplot_x11 driver to talk to it for rotation.
source
share