Re: Surface plot.
Rene Brun (Rene.Brun@cern.ch)
Tue, 24 Mar 1998 18:32:37 +0100
Bosko Ivanisevic wrote:
>
> Hi,
>
> I am calculating saddle point energies and fission barriers for large set of
> compound nuclei. These energies depend on more than two variables and thay
> are calculated in separate program. As a result I get numeric values of
> saddle point energies and fission barriers for different angular momenta and
> different modes of fission (masses and charges of fission fragments). I
> wanted to draw these energies as a function of (L,A) or (L,Z) with surf4
> option. Unfortunately I couldn't find a way to do this. Is there a way to
> read numeric values of variables and function from file and to draw function
> with surf4 (Gouraud) option?
This is pretty easy.
Look at the file hsimple.root generated in the tutorials program
called hsimple. This file contains a TH2F object filled in hsimple.
Root > TFile f("hsimple.root");
Root > hpxpy.Draw("surf4");
Rene Brun