Hi, Th2F is a TArrayF, so that TMatrix mymatrix(nbinsx+2,nbinsy+2,myhisto.GetArray(),"F") should work. Cheers, Christophe. > Jony Ginzburg wrote: > > Hello > I am a new user of root. > I would like to make a matrix from histogram ( TH2) . It is a > opportunity in paw to convert the histogram to the matrix but in root > i don't find this in user guide.Can you help me please. > ------------------------------------------------------ > Ginzburg Jonatan > School of Physics and Astronomy > Tel-Aviv University > Tel-Aviv 69978, ISRAEL > Voice: +972-3-6406546,7722 > Fax: +972-3-6407932
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET