大家好;)
我正在尝试绘制以下文件。
GAMA LOG TYPE: G-250 H D;
01-08-2017 14:20:16;1377;34;33;34;33;32;
01-08-2017 14:20:18;1377;34;33;34;33;32;
01-08-2017 14:20:20;1377;34;33;34;33;32;
01-08-2017 14:20:22;1377;34;33;34;33;32;
01-08-2017 14:20:24;1377;34;33;34;33;32;
01-08-2017 14:20:26;1377;34;33;34;33;32;
01-08-2017 14:20:28;1377;34;33;34;33;32;
01-08-2017 14:20:30;1377;35;33;34;33;32;
01-08-2017 14:20:32;1377;35;33;34;33;33;
01-08-2017 14:20:34;1377;35;33;34;33;33;
01-08-2017 14:20:36;1377;35;33;34;33;33;
01-08-2017 14:20:38;1377;35;33;34;33;33;
01-08-2017 14:20:40;1378;35;33;34;33;33;
01-08-2017 14:20:42;1378;35;33;34;33;33;
这是我的代码
reset
unset multiplot
set datafile separator ";"
set xdata time
set timefmt "%d-%m-%Y %H:%M:%S"
set xtics timedate
set xtics format "%H:%M:%S"
plot file u ($1):($3) skip 1 w l lt 1 lc rgb "red"
Gnuplot带来以下警告
Warning: empty x range [3:3], adjusting to [2.97:3.03]
有时我会把
set timefmt "%d-%m-%Y"
前
set timefmt "%d-%m-%Y %H:%M:%S"
因为我在其他问题中看到了它,但它也没有工作!
PS:我尝试使用gnuplot 5.0 patchlevel 6和gnuplot 4.6 patchlevel 6
如果有人可以帮助我,那就太好了!