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或類似的東西)? –