Hi Kai, I am not sure to understand your question. Do you want to create a 2-d histogram of x versus y filling eacg cell with the Prob values ? If yes, do tree.Draw("y:x","prob","surf1"); Rene Brun On Fri, 26 Jan 2001, Kai Yi wrote: > Hi, Everyone, > I have a specific question to ask, anyone can help me? > Suppose I have a ntuple(tree), it has the following leaves: > nEvent //trigger number > x //x coordinate > y //y coordinate > z //z coordinate > prob //some Prob. based on x,y,z > > I want to draw a surface picure like this: x->y->Prob > here I need to specify the trigger no.--nEvent, about z direction, it is a > integrate. > I tried this from treeViewer, it draw me a 3D picture, it is point based > picture, I want a surface picture(more smoothly). I tried to put "Surf" > into Gopt box, it does not work. > Anyone can help me? > Thanks a lot > > > Kai YI > > > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:34 MET