GetBinContent

hi rooters
My first post!
i am filling a 1D histogram with SetBinContent(int a, int b), and then I want to get the bin number at which the “b” has a certain value. I know I can get “b” with GetBinContent(a), but is there a way to get “a” at value “b”?
Thanks a lot!
Artur

Following several recent similar requests, I have now implemented this functionality for 1-D, 2-D, 3-d and profile histograms in the CVS head.
See for example:
root.cern.ch/root/htmldoc//TH1.h … ithContent
root.cern.ch/root/htmldoc//TH2.h … thContent2
root.cern.ch/root/htmldoc//TH3.h … thContent3

Rene

Great! Thanks!