Anton, Assume TH1 *h1 in TPad *pad1 and h2 in pad2, do h1->GetXaxis()->SetRange(firstbin,lastbin); pad1->Modified(); h2->GetXaxis()->SetRange(firstbin,lastbin); pad2->Modified(); canvas->Update(); Rene Brun On Sat, 26 Feb 2000, Anton Fokin wrote: > Hi rooters, > > I have two histograms in two pads in a canvas and I zoom histograms in sync, > i.e. if I zoom the upper one, the lower one should also zoom to the same > range. (Imagine how it is important for time series applications). What is > the best way to implement it? > > Best regards, > Anton > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET