smooth freq
でプロットすると、どのように私は、Y-MAXに対応x位置を得るのですか?データの集合が与えられる:gnuplotのヒストグラム(平滑FREQ)最大位置
#data.dat
7.20051
7.65602
7.87180
8.64177
8.92575
8.65913
8.98814
9.45199
8.40334
8.75102
8.65440
8.21088
8.59719
8.23259
8.34794
8.41658
7.67074
8.44228
8.54347
9.04961
9.18177
....
私は次のことを試してみた:
gnuplot
binwidth=0.1
bin(x,width)=width*floor(x/width) + binwidth/2.0
set terminal unknown
plot 'data.dat' u (bin($1,binwidth)):(1.0) smooth freq w l
show variables all
GPVAL_Y2_MAX = 6051.0は私がしたいことを最大のy値(ピーク)ですが、どのように私は、対応するのですかx値? smooth freq
はできませんstats
を使用して、私はビンにデータを事前処理する必要はありません。 gnuplotを使ってx値を取得する方法はありますか?