Hi Phil, Could you clarify what you want to do. If you want something looking like the surfaces.C example, you should fill a TH2F (not a TH3F) with a loop on h2->Fill(x,y,z) and then h2->Draw("surf") see also the example in $ROOTSYS/tutorials/draw2dopt.C Rene Brun > Phil Taddei wrote: > > Sorry about the file size problem. > > I was able to create a three-dimensional histogram with TH3F by making the z > component increase by one for every bin of x vs. y (see attachment). I am > impressed with the surfaces.C example, and I would like to make my histogram > look like it. The histogram must be created by actual data for x and y. Any > ideas on how to do a better three-dimensional histogram? > > Thanks. > Phil Taddei > > Name: c1.jpg > c1.jpg Type: JPEG Image (image/jpeg) > Encoding: base64
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:40 MET