Hello,

i have a data of 10.000.000 numbers and need to get out a histogram, or better said a dataset, which gives out a histogram when directly plotted (i already took the raw data an plottet a histogram with gnuplot, was no problem, but thats not my task).

The problem is, that im very new to C, and i couldnt find any good tutorials or sides in google.

The histogram should be on logscale, the x axis has a range from 0.01-150 and it should be devided into bits which contains at least 10 numbers. So the width of the bits would not be constant.

i would be thankful for any help, tips, links or part of codes.