Current histogram
I want each bin to be the same width, but since there are no values in some ranges (Ex: 10 to 15), gnuplot is automatically increasing its width to fit the space 10 to 20.
I have set the bins like so:
binwidth=5
bin(x,width)=widthfloor(x/width)
plot ‘Module 2 Mod100.txt’ using (bin($1,binwidth)):(1.0) smooth freq with boxes linecolor rgb “#FFCCE5″ title ”
How can I fix this?
schrodingers_cat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.