3d problems

From: Raimond Snellings (RJSnellings@lbl.gov)
Date: Thu Mar 18 1999 - 23:29:34 MET


Hi rooters,


When I try to plot x vs y vs z in root
(in my case it comes from a star table
St_TableNtuple adcxyz(*pytfc);
adcxyz.Fill(*pytfc);
but I don't think this matters)
adcxyz.Draw("x:y:z") works and I can rotate it with the
mouse. However there are no axis labels and no axis at all.
Is there a way to turn this on.
Also when I do:

TH2S *dhist1 = new TH2S("dhist1","x vs y vs z",100,-150,0,100,-50,0)
root [55] adcxyz.Draw("x:y>>dhist1")
root [56] dhist1->Draw()
root [57] dhist1->GetEntries()
(Stat_t)9.890000000000e+02

this works however

root [64]  TH3S *dhist4 = new TH3S("dhist4","x vs y vs
z",100,-150,0,100,-50,0,100,0,200)
root [65] adcxyz.Draw("x:y:z>>dhist4")
root [66] dhist4->Draw()
root [67] dhist4->GetEntries()
(Stat_t)0.000000000000e+00

seems not work at all.

The root version I am using is 2.21/06

 Help
 Thanks,

 Raimond



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET