I wonder if is possible to plot in rhino a histogram bar chart similar to the bar graph or the histogram in excel where it is possible to choose the bin number. I have performed an attempt without success.
There may be a plugin that does a good job of that kind of thing, but here is a small modification to your GH definition: Histogram bar chart_v2.gh (42.9 KB)
I am having a hard time trying to bin the numbers equally distributed. So I can organize the histogram in ranges as in excel or the bar graph component in grasshopper. I hope I have explained myself clearly.
Hello
it is not clear as it seems quite simple to partition in bins. So it is not clear if you want something simple or if you have something more complex in minds.
if you have values ranging from [a, b] you can divide this domain using range, then make consecutive domains then use include in order to count how much values are on each domain. The counting is done with mass addition.
That is exactly what I was looking for. Forgive my ignorance, i didn’t know the existance of consecutive domain and include components or their function since my knowledge in grasshopper is limited.
No problem but it wasn’t clear if it was a graphic problem, a math problem a Grasshopper problem.
For sure Grasshopper is not simple sometimes the meaning of word is not good for others culture. “Mass addition” was not clear, for me it is more an integral.
A good advice is to look at all components and try to understand what they do.