1
爲什麼以下不起作用? (在所述柱的底部CF誤差)Gnuplot datetime格式不起作用
set terminal dumb
set style data lines
set datafile separator ","
set timefmt "%Y-%m-%d %H:%M:%S"
set xdata time
set xrange ['"2014-12-01 00:00:00"':'"2014-12-03 00:00:00"']
set format x "%m-%d\n%H:%M"
plot "<cat" using 1:2
數據:
2014-12-02 13:59:35,1
2014-12-02 13:59:57,2
2014-12-02 14:00:37,3
2014-12-02 14:00:43,4
2014-12-02 14:01:03,5
2014-12-02 14:01:22,6
2014-12-02 14:01:32,7
2014-12-02 14:01:37,8
2014-12-02 14:02:27,9
2014-12-02 14:04:18,10
輸出:
Can't plot with an empty x range!
Aaargh。謝謝。 – 2014-12-02 16:58:51