|
From: Tatsuro M. <tma...@ya...> - 2017-03-06 06:58:21
|
----- Original Message -----
> From: Philipp K. Janert
> To: gnuplot-beta> Cc:
> Date: 2017/3/6, Mon 15:09
> Subject: Re: Regression when using gnuplot and loops?
>
>
> [snip]
>
>>
>> Gnuplot process and gnuplot_qt process communicates each other.
>> Bind command code is implemented source code for qt terminal
>> so it should work.
>>
>> I execute a simple test on gnuplot-5.0.5 on windows and lubuntu 16.04
>> (built myself).
>>
>> gnuplot> bind d 'plot x*x'
>> gnuplot> set term qt
>> gnuplot> bind d
>> d `plot x*x`
>> gnuplot> plot x
>>
>> On qt plot windows, press d key => plot x*x
>> executed.
>>
>> Bind command works for me on qt at least in the above simple example.
>
> Yes, you are right. This works for me.
> Thanks a lot.
>
I made further test on qt and wxt terminal on gnuplot 5.0.5 windows and lubunutu 16.04.
bind d "end=1"
i=1; end=0; while (end==0) {plot i*x title "".i; i=i+1; pause 0.1}
press "d" on plot window of qt terminal can stop the loop for me.
But above loop is too simple so that it may not give a clue for this issue.
Tatsuro
|