Vu Anh Tuan writes: > No sorry, in fact all histograms are superimposed in the same > pad. Sounds like the canvas had never been divided. Well, one thing is: > > c1.cd(hidx); should be: c1.cd(hidx+1); as the counting starts at 1. Doing a "cd(0)" cd's to the main pad (c1 in this case). Also you seem to have a typo: > > if (numberOfHistos == 4) > > c1.Divide(2.2); You want: c1.Divide(2,2); ie "." --> ",". Cheers, -Brett.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET