# set terminal svg size 600,400 dynamic enhanced fname 'arial' fsize 10 mousing name "smooth_2" butt solid # set output 'smooth.2.svg' set boxwidth 0.05 absolute set key inside left top vertical Right noreverse enhanced autotitles nobox set xzeroaxis linetype 0 linewidth 1.000 set yzeroaxis linetype 0 linewidth 1.000 set zzeroaxis linetype 0 linewidth 1.000 set title "Normal Distribution" bin(x, s) = s*int(x/s) GPFUN_bin = "bin(x, s) = s*int(x/s)" plot "random-points" u 2:(0.25*rand(0)-.35) t '', "" u (bin($2,0.05)):(20/300.) s f t 'smooth frequency' w boxes, "" u 2:(1/300.) s cumul t 'smooth cumulative'