# set terminal pngcairo background "#ffffff" enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'smooth.3.png' set boxwidth 0.1 absolute set xzeroaxis linetype 0 linewidth 1.000 set yzeroaxis linetype 0 linewidth 1.000 set zzeroaxis linetype 0 linewidth 1.000 set title "Lognormal Distribution" bin(x, s) = s*int(x/s) GPFUN_bin = "bin(x, s) = s*int(x/s)" plot [0:] "random-points" u 3:(0.25*rand(0)-.35) t '', "" u (bin($3,0.1)):(10/300.) smooth freq t 'smooth frequency' w boxes, "" u 3:(1/300.) smooth cumul t 'smooth cumulative'