|
From: Jan M. <ja...@mu...> - 2016-03-03 18:00:05
|
Dear all,
I use gnuplot to show data that is piped into it from another script.
The data gets updated every few seconds.
Here is what I send to gnuplot:
set term x11 title 'No Name'
plot '-' with points pt 5 title ""
3872664887
3872719597
e
[some time later...]
replot
1094204
1094205
e
This worked well in versions up to 4.4, maybe 4.6, updating the plot
with every new set of data.
Now, using 5.0.3 I get an error:
gnuplot> 1094204
^
line 3: invalid command
gnuplot> 1094205
^
line 3: invalid command
gnuplot> e
^
line 3: invalid command
From reading recent commit messages and looking to the code, it seems
to be related to the "volatile" flag set for pipes:
https://github.com/gnuplot/gnuplot/blob/master/src/datafile.c#L1360 -
volatile_data = TRUE;
I found that removing this line makes my problem disappear - but I have
no idea what else gets broken when doing so.
Do you have any advice how to fix the problem?
Thanks for your help,
Jan
|