我想在gnuplot的文本文件中制作一个关于以下数据帧的图表。
00:40:10.223869 10.0.0.2 10.0.0.1 2617410 1 731025 3.820570716853684E-7 0.2792932708287964 606864 661379 617614 731025 1.9844739245003824E-7 5.645923197810635E-6 1.8597590551726972 7.439036220690789 0
00:40:10.223881 10.0.0.2 10.0.0.1 2617410 2 731025 7.641141433707368E-7 0.2792932708287964 606864 661379 617614 731025 1.1312066691175866E-6 1.0762202831517866E-5 10.601156408204401 7.439036220690789 0
00:40:10.223883 10.0.0.3 10.0.0.1 2617410 3 731025 1.1461712150561051E-6 0.2792932708287964 606864 661379 617614 731025 2.828080089155871E-6 1.5678571811653608E-5 26.503485329923905 7.439036220690789 0
00:40:10.223886 10.0.0.2 10.0.0.1 2617410 4 731025 1.5282282867414735E-6 0.2792932708287964 606864 661379 617614 731025 5.289067652564894E-6 2.0465118534828923E-5 49.566745820331214 7.439036220690789 0
我使用了以下代码,但gnupot仍然无法检测到X值(时间戳):
set timestamp "%H:%M:%S" offset 80,-2 font "Helvetica"
plot "test.txt" using 1:5 title 'number of packets that sends'
错误是:
empty x range [0:0], adjusting to [-1:1]
Bad format character
此命令也有错误:
plot "test.txt" using 2:5 title 'number of packets that sends'
请让我知道如何解决这个问题。谢谢。