TGraph2D & Evaluate

From: <nguler_at_jlab.org>
Date: Thu, 10 Feb 2011 22:31:31 -0500


Hello All,
I have an intensity distribution in x and y dimensions. The distribution is discrete but I am plotting it with TGraph2D and then using Interpolate class to get the value of the intensity for (x,y) point that is not in the original data. It is not too far off but not perfect either. I am wondering if there is any other class that I am not aware of. I would like to try and compare. Is there Eval class (like the one for TH2F) for TGraph2D?

Is the Eval class for TH2F better than the Interpolate class for TGraph2D for this kind of thing, so should I fill a histogram instead of filling TGraph2D?

I appreciate you comments.

Received on Fri Feb 11 2011 - 04:31:38 CET

This archive was generated by hypermail 2.2.0 : Fri Feb 11 2011 - 17:50:01 CET