2
Gnuplot倾向于在时间序列图中混乱x轴。请参阅下面的图像与窄间距标签的例子:Gnuplot:时间序列图中的x轴窄标签间距
有没有一种方法,使gnuplot的避免这样的窄间距?最好这应该在gnuplot脚本内完成以生成图。
我产生具有以下gnuplot的脚本剧情和随机数据的文件:
set terminal png
set output "plot.png"
set timefmt "%s"
set xdata time
set xlabel "time"
set ylabel "Random Data"
set boxwidth 600
set style fill solid 0.5
set key below
plot "random.dat" using 1:2 w boxes title ".60"
注:我使用的Gnuplot 4.6。
编辑
- 少写时间应该足够了这一点。
- 示例文件制作的情节,请http://pastebin.com/w0kia7Dt
你想分散x轴,还是少写时间? –
我想写少些时间会更好。 – evnu
你能提供一个链接到你的数据文件(也许在pastebin或类似的东西)? –