void graphApply()
{
Double_t yaxis[npoints] = {10., 20., 30.};
Double_t errorx[npoints] = {0.5, 0.5, 0.5};
Double_t errory[npoints] = {5., 5., 5.};
Double_t exl[npoints] = {0.5, 0.5, 0.5};
Double_t exh[npoints] = {0.5, 0.5, 0.5};
TF2 *ff =
new TF2(
"ff",
"-1./y");
}
A 2-Dim function with parameters.
TGraph with asymmetric error bars.
void Apply(TF1 *f) override
Apply a function to all data points .
A TGraphErrors is a TGraph with error bars.
void Apply(TF1 *f) override
Apply function to all the data points .
A TGraph is an object made of two arrays X and Y with npoints each.
virtual void Apply(TF1 *f)
Apply function f to all the data points f may be a 1-D function TF1 or 2-d function TF2 The Y values ...
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).