That is almost what I am looking for, although I would like to have better looking coordinate axes. I like the boxes that TH2F creates, with three axes, including labels and tickmarks. I would much rather put the tornado in one of these coordinate systems than drawing my own axis. Thanks for your reply, Reinhard > Hello, > how do I draw 3d points with coordinate axes or a 3d graph? > I would like to do something similar to the TGraph class or the example in > zdemo.C (in the tutorials), but in 3d. > Asked in a different way: How can I get an empty 3d histogram to add my 3d > point to? > When I do > TH3F *hr=new TH3F("hr","title",2,0.0,1.0,2,0.0,10.0,2,0.0,10.0); > hr->Draw(); > the canvas is created, but nothing is drawn inside it. > If I use TH2F instead, I cannot regulate zmin and zmax. > Does anybody know what to do? The macors: http://root.cern.ch/root/html/examples/tornado.C.html and $ROOTSYS/tutorials/basic3d.C show how the classes: http://root.cern.ch/root/html/TPolyMarker3D.html http://root.cern.ch/root/html/TPolyLine3D.html can be used. More advanced example (drawing the primitive axis) can be found: http://www.star.bnl.gov/STAR/html/comp_l/root/html/St_PolyLine3D.html#St_Pol yLine3D:Axis Hope this helps, Valery
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET