Re: Interpolating a Surface

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Nov 02 1998 - 07:39:24 MET


FLANDERS, JOEL M. (JSC-SN) wrote:
> 
> I have a set of 10 (x,y,z) data points. I would like to interpolate a three
> dimensional surface grid from these points. I have not been able to do this
> with ROOT.
> 
> Could you explain how to do this using ROOT?
> 

You cannot do that with the current version of Root in the general
case of non-equidistant data points. This general case requires
a new class (say TGraph3D) to be implemented with the usual viewing
options.
If your points are equidistant, you can use the class TH2F
and fill each cell with the Z values, then use the drawing options
SURF,etc.

Rene Brun



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