Re: 3D Histograms and Graphs

S. P. Wakely (wakely@hep.umn.edu)
Fri, 22 Jan 1999 08:43:27 -0600


>> Root> f = TFile("hsimple.root");
>> Root> ntuple->Draw("pz>>h1");
>> Root> ntuple->Draw("pz:py>>h2");
>> Root> ntuple->Draw("pz:py:px>>h3");
>>
>> The first two work, but the last does not produce histogram h3.
>
>Hi Scott,
>Right, this is not yet implemented. I will code this addition.

Hi,
You don't need to add it on my account... I just noticed it and
thought I would mention it. I should have just checked the source to
see it was not in there.

>
>You can create a 2-d function, example
> TF2 f2("f2","x+y",0,10,0,10);
> f2.Draw("surf1");

In this case I am more interested in building 3D representations of
ntuple data, rather than of symbolic variables.

That is, a 2D lego 'histogram' where the height of the x,y bin is set
by the value of z. A 3D graph, really.

Thanks,
Scott