我正在生成一个包含过去二十四小时事件 gnuplot 的图表,但时间轴看起来非常糟糕,因为它试图在最后一天每五分钟拟合一次长数字。
gnuplot 有什么方法可以将 x 轴视为纪元时间,并每隔一小时左右标记一次?
最佳答案
这是你想要的吗?
set xdata time
set timefmt "%s"
# set xtics 3600
set format x "%H:%M:%S" # or whatever
plot ...
关于gnuplot - 将轴视为日期/时间(纪元),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1767758/