我有一个情节here,而Gnuplot选择将xtics间隔2小时。如何指定xtics的1小时间距?我似乎无法从文档中解决问题,也无法在线找到匹配的示例。
我试过了:
set xtics "12:00" "13:00" "24:00" set xtics 12:00 13:00 24:00 set xtics "12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00","24:00" set xtics 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00, 24:00
(有和没有'范围周围的引号)
答案 0 :(得分:1)
对于时间轴,基本单位为秒,因此您必须使用3600:秒的抽动增量
set xtics 3600