x-value to bin number?

From: Robert Casties (casties@desy.de)
Date: Wed Jun 04 1997 - 16:07:16 MEST


Hello!

Is there a convenient method to get the bin no of a histogram from the
value to be filled in? (I thought TH1::GetBin would do that)

Do I have to do all TH1::Fill(x) does (subtracting xmin, dividing, etc)?

Is there any other way to make my own histogram contents with errors? At
the moment I'm using TH1::Fill(x,value) for the data but there's not the
like for errors.

Actually, it's not really histograms I want but something which looks the
same (plot of single equidistant values with errorbars).


Thanks for enlightenment

	Robert



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET