when terminal used is qt and -persist option is used there is no mousing
reproduced on ubuntu 12.04 LTS with gnuplot 4.6.1
reproduced on OS X 10.9.4 with default gnuplot install from macports, 4.6.2.
here is a simple way to reproduce it.
$ GNUTERM=qt gnuplot --persist << EOF >plot sin(x) >EOF sgaspari@tllab221:~$
If -persist option is not used, then the mousing is working fine.
The example below allow to use the mouse to scrool, zoom, etc...
$ GNUTERM=qt gnuplot G N U P L O T Version 4.6 patchlevel 1 last modified 2012-09-26 Build System: Linux x86_64 Copyright (C) 1986-1993, 1998, 2004, 2007-2012 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info faq, bugs, etc: type "help FAQ" immediate help: type "help" (plot window: hit 'h') Terminal type set to 'qt' gnuplot> plot sin(x) gnuplot>
Here is the documentation on "persist":
In other words, the behaviour you describe is exactly what you should expect from "persist". No zoom, no scroll, no toggline log-scale, no anything that requires recalculating and redrawing the plot. "persist" basically just leaves the last plot showing on the screen after gnuplot exits.
I think what you want is not "persist", but this:
That leaves gnuplot running in the background so it can manage the display and respond to events that require recalculating the plot.
This question has come up several times recently, so maybe it belongs in the FAQ.
Ok, It is à RTFM question.
wxt terminal supports mousing with -persist option on window and Linux.
--
Stéphane Gasparini
Related
Bugs:
#1483