有人可以帮助我.我正在尝试创建一个简单的图表.
set datafile separator ","
set xdata time
set timefmt "%d/%m/%Y %H:%M:%S"
set format x "%H:%M"
set autoscale y
plot ["13:00":"14:00"] './data.csv' using 1:2 with lines
Run Code Online (Sandbox Code Playgroud)
data.csv:
26/10/2010 13:30:01,1
26/10/2010 13:30:12,2
26/10/2010 13:30:23,3
26/10/2010 13:30:34,4
Run Code Online (Sandbox Code Playgroud)
给我错误:
line 6: all points y value undefined!
Run Code Online (Sandbox Code Playgroud)
我已经尝试过timefmt设置的所有方式!
非常感谢
可能重复:
如何在Gnuplot中缩放轴
我有x和y轴有大数字(1000,2000等)但是我希望重新编写或重新缩放它们而不更改或重新缩放数据,这样1000轴在轴上是1,等等.我不寻找1x10 ^ 3.让1000成为1.我有什么方法可以做到这一点?