Tamara Gol - 2018-06-13

hi,

Maybe you can help. I want get the opportunity to change yrange online. I get the date every minute and I plot it online. But always I need change the range manual. I cant use autoscale too. Maybe can I try to use script in my gnuplot. Something like this:

set xdata time

set xrange [time(0) - 10800+7200 : time(0)+7200]
load "test.plt"
set grid ytics
set grid xtics

plot "test.txt" using (stringcolumn(1)):($4) w l t "" lc "red"

pause 10
reread

In "test.plc" I habe:

set yrange [15:25]
set ytics 15,0.5,25

end

The "test.plc" file in future I want rewrite, there are I change yrange values