【发布时间】:2016-01-19 06:16:22
【问题描述】:
当我打印时间 gnuplot 时,我遇到了 gnuplot 的下一个问题 打印时间+30年。
这是我数据的一部分:
1411336800,1390,0,0,0,10,1411,0,10,0,0,0,0,0,1411
1411340400,1506,0,0,0,10,969,0,10,0,0,0,0,0,969
1411344000,1115,0,0,0,10,1108,0,10,0,0,0,0,0,1108
1411347600,719,0,0,0,10,712,0,10,0,0,0,0,0,712
脚本的一部分是:
set timefmt "%s"
stats "<tail -1 uur.txt " using 1:2 nooutput
tijd = strftime("%d %B %Y %H:%M", STATS_max_x)
print tijd
然后 gnuplot 打印:2044 年 9 月 21 日 01:00。 44 ?
有人知道吗?
我尝试了几种格式,但没有任何帮助。
【问题讨论】: