The macro attached produces some naive API to manage 3D view scales. It does show how one can play with 3D scale. Hope this helps Valeri ----- Original Message ----- From: "Kai Yi" <yik@fnal.gov> To: <roottalk@pcroot.cern.ch> Sent: Friday, June 29, 2001 2:06 PM Subject: [ROOT] help needed for a complicate question! > Hi, All Experts, > Suppose I want to draw a cloud,or a density picture According to some > probability, I generated a lot of coordinates (x,y,z) which reflect the > density in 3D space. I then put x,y,z into a ntuple (tree). So my ntuple > is like: > > myTree > | | | > x y z > > Then I have the following operation: > new TBrowser(); > From the browser, find the tree, clich right button on my mouse > and choose StartViewer, on this TreeViewer, I put _1.x into red X, _1.y > into red Y, _1.z into red Z. Then I press blue Draw, I get the cloud or > density 3D picture. I noticed that root automatically generate a command: > ntupleVertexRaw->Draw("_1.z:_1.y:_1.x", "", "", 3292, 0); > > My question is: > How to set the range of x,y,z? right now I do not have control over > the range of x,y,z. Is it possible to set range somewhere, or there are > some other ways to do the same thing? > > Thanks a lot! > > Kai Yi > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET