17 const Int_t npoints=3;
18 Double_t xaxis[npoints] = {1.,2.,3.};
19 Double_t yaxis[npoints] = {10.,20.,30.};
20 Double_t errorx[npoints] = {0.5,0.5,0.5};
21 Double_t errory[npoints] = {5.,5.,5.};
23 Double_t exl[npoints] = {0.5,0.5,0.5};
24 Double_t exh[npoints] = {0.5,0.5,0.5};
31 TF2 *ff =
new TF2(
"ff",
"-1./y");
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad...
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
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 ...
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
TGraph with asymmetric error bars.
virtual void Apply(TF1 *f)
Apply a function to all data points y = f(x,y)
virtual void Apply(TF1 *f)
apply function to all the data points y = f(x,y)
A 2-Dim function with parameters.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
A Graph is a graphics object made of two arrays X and Y with npoints each.
A TGraphErrors is a TGraph with error bars.