12 #ifndef ROOT_TMultiGraph
13 #define ROOT_TMultiGraph
void PaintPads(Option_t *chopt="")
Divides the active pad and draws all Graphs in the Multigraph separately.
virtual void SetMinimum(Double_t minimum=-1111)
Set multigraph minimum.
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0)
Fit this graph with function with name fname.
virtual void FitPanel()
Display a panel with all histogram fit options.
TList * GetListOfGraphs() const
const TList * GetListOfFunctions() const
virtual void LeastSquareLinearFit(Int_t ndata, Double_t &a0, Double_t &a1, Int_t &ifail, Double_t xmin, Double_t xmax)
Least square linear fit without weights.
virtual void InitPolynom(Double_t xmin, Double_t xmax)
Compute Initial values of parameters for a polynom.
A TMultiGraph is a collection of TGraph (or derived) objects.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void Paint(Option_t *chopt="")
Paint all the graphs of this multigraph.
virtual void RecursiveRemove(TObject *obj)
Recursively remove this object from a list.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual ~TMultiGraph()
TMultiGraph destructor.
TList * GetListOfFunctions()
Return pointer to list of functions.
virtual void Draw(Option_t *chopt="")
Draw this multigraph with its current attributes.
TMultiGraph & operator=(const TMultiGraph &)
Assignement operator.
TAxis * GetXaxis() const
Get x axis of the graph.
virtual void LeastSquareFit(Int_t m, Double_t *a, Double_t xmin, Double_t xmax)
Least squares lpolynomial fitting without weights.
virtual void Print(Option_t *chopt="") const
Print the list of graphs.
Using a TBrowser one can browse all ROOT objects.
Class to manage histogram axis.
virtual Option_t * GetGraphDrawOption(const TGraph *gr) const
Return the draw option for the TGraph gr in this TMultiGraph.
virtual void Browse(TBrowser *b)
Browse multigraph.
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
virtual void InitExpo(Double_t xmin, Double_t xmax)
Compute Initial values of parameters for an exponential.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to each graph.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
TH1F * GetHistogram() const
Returns a pointer to the histogram used to draw the axis.
void PaintPolyLine3D(Option_t *chopt="")
Paint all the graphs of this multigraph as 3D lines.
Mother of all ROOT objects.
virtual void SetMaximum(Double_t maximum=-1111)
Set multigraph maximum.
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void Add(TGraph *graph, Option_t *chopt="")
Add a new graph to the list of graphs.
TF1 * GetFunction(const char *name) const
Return pointer to function with name.
virtual void InitGaus(Double_t xmin, Double_t xmax)
Compute Initial values of parameters for a gaussian.
TAxis * GetYaxis() const
Get y axis of the graph.
virtual Int_t IsInside(Double_t x, Double_t y) const
Return 1 if the point (x,y) is inside one of the graphs 0 otherwise.