Dear expert,
I have an histogram, then I want to change it binning using an array. I saw the SetBins method but when I use it, the histogram is empty. Do you see what is wrong or how can I do that? I made a small code (1).
The histogram keeps no memory of the data-points that filled it, so there is no way to “keep the same points but change the binning”. The information you would need is lost. The only operation that one can perform on bins is to merge them together, that is well-defined.