in reply to Help with Histograms

#--------------------------- ## hi, I am a gnuplot script and you are probably trying to do in perl + my own job set terminal png large size 1920,1200 set output 'output.png' set style histogram set title "my title" set xlabel "my x varname" set ylabel "my y varname" set yrange [0:10] set style fill solid border -1 binwidth=5 set boxwidth binwidth bin(x,width)=width*floor(x/width) + binwidth/2.0 plot 'mydata.dat' using (bin($1,binwidth)):(1.0) smooth freq with boxe +s #---------------------------