Am 27.09.2019 um 15:23 schrieb
[email protected]:
I would like to pull a single day out of my multi-week data file. So I'm using 'set xrange'. But I'm stumbling on the format: gnuplot fails with
C:\Temp\Plot>gnuplot wst-a-rtr.gp
"wst-a-rtr.gp" line 32: Can't plot with an empty x range!
set xrange [ "2019-09-25" : "2019-09-26" ]
Type "show xrange" after this, and you see it didnt work. "set
xrange" does not understand formatted time data. Maybe it should
give an error message here. E.g.
print "2019-09-25" + 1
gives
2020.0
gnuplots string autopromotion is perhaps a bit too ambitious here. ;)
You need to transform those strings into a unix date, check the
strptime() function.
Karl
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)