Re: Surface plot.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Mar 24 1998 - 18:32:37 MET


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



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