Alberto Baldisseri wrote: > > Hi rooters, > > To do an histogram zoom in the interactive mode is very easy > clicking on the histogram and displaying the DrawPanel. > Anybody know how to do this in batch mode ? Which method > I have to call ? I don't find any on TH1 class. > Alberto, In a macro, you can select the bins range for the X, Y or Z axis via TAxis::SetRange. For example, for a 1-D histogram h Root > h->GetXaxis()->SetRange(34,67); Root > h->Draw(); Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET