I’m sorry, but there is something that I don’t understand in this.
Why are the values that I obtain in ix and iy and iz not the same? If I understand correctly, these are indeces of the arrays (x,y,z) that I use to produce my TGraph2D, like:
According to this iz should be the index of the element that is the minimum value of the array z. The corresponding elements of x and y should be in the same position, as they are the other two coordinates of the same point.
ix, iy, iz returned by g->GetHistogram()->GetMinimumBin(ix,iy,iz); are histogram bins in the underlying histogram build by GetHistogram(). They are not indexes in the x, y and z arrays. But the coordinates returned by :