【发布时间】:2023-01-25 22:59:29
【问题描述】:
我试图绘制此数据集,但在输出中得到了额外的行。
这是我的数据集 feeds.data:
2023-01-22 09:00
2023-01-22 11:40
2023-01-22 13:30
2023-01-22 19:40
2023-01-22 22:15
2023-01-23 04:45
2023-01-23 07:45
2023-01-23 10:15
2023-01-23 12:30
2023-01-23 13:30
2023-01-23 17:45
2023-01-23 22:45
2023-01-24 02:45
2023-01-24 07:30
2023-01-24 10:30
2023-01-24 13:30
2023-01-24 17:45
这是我的 gnuplot 程序的简化版本:
reset
set output "./feedings.png"
set xdata time
set format x "%H:%M"
set ytics time;
set format y "%Y-%m-%d"
plot "./feedings.data" using (timecolumn(2, "%H:%M")):(timecolumn(1, "%Y-%m-%d")) with points;
【问题讨论】:
标签: gnuplot