Dear rooters I tried to fill a profile histogram via TTree::Draw, however the profile histogram is being erased and replaced by an ordinary 2d histo. I tried root [9] hprof = new TProfile("hprof","edtarr vs logSize",100,3.,7.,0.8,4.5); root [10] h3.Draw("log10(edtarr):log10(Size)>>hprof",cStd+crad90); Warning in <TTree::Draw>: Deleting old histogram with different dimensions root [11] delete hprof; root [12] hprof = new TProfile("hprof","edtarr vs logSize",100,3.,7.,0.8,4.5); root [13] h3.Draw("log10(edtarr):log10(Size)>>+hprof",cStd+crad90); Warning in <TTree::Draw>: Deleting old histogram with different dimensions but both did not work. What is wrong? Regards Hajo
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:35 MET