Nikolai Yu. Zaitsev wrote: > > Hello, > > Probably the question was asked 1000 times but I could not find the > answer. In PAW there is one nice feature to plot the histogram > > h/pl 1(10:20) from bin 10 to 20 > or > h/pl 1(10.:20.) from x=10. to x=20. > > Is there any similar method (option) for TH1? > > Thanks in advance, Nikolai. In addition to the DrawPanel facility indicated by Nick, you can also do the following: h->GetXaxis()->SetRange(binmin,binmax); and your histogram h will be automatically drawn in the specified range. This works for 1-d, 2-d, 3-d and TProfile histograms. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET