A macro to demonstrate the functionality of TGraph::Apply() method.
TGraph::Apply applies a function f
to all the data TGraph points. f
may be a 1-D function TF1 or 2-d function TF2. The Y values of the graph are replaced by the new values computed using the function.
{
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A 2-Dim function with parameters.
TGraph with asymmetric error bars.
A TGraphErrors is a TGraph with error bars.
A TGraph is an object made of two arrays X and Y with npoints each.
- Author
- Miro Helbich
Definition in file graphApply.C.