On Tue, Jan 23, 2024 at 3:58 PM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
Am 23.01.2024 um 21:40 schrieb Cottrell, Allin:
On Tue, Jan 23, 2024 at 1:05 PM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
what I'm asking is maybe best explained by example, see the script
below, which calls R. Is something like that possible with gnuplot (and
hence more directly linkable to gretl) ?
...
Gretl is coded in C, which is Turing complete, and its GUI is based on
GTK, which includes a slider widget (GtkScale), so the answer is Yes,
it's possible. All you have to do is design a GUI dialog that revises
the sample range in a gnuplot script via a call to the GtkScale API
and calls for redrawing of the plot accordingly.
Hehe, notice that I asked "possible with gnuplot", not "possible with
gretl". The idea is of course to leverage and benefit from existing tools, and
especially not to reinvent the wheel.
Ah, true enough. But so far as I know there's no such wheel in gnuplot.
Allin