Logo ROOT  
Reference Guide
gr010_approx_smooth Namespace Reference

Functions

 DrawSmooth (pad, title, xt, yt)

Variables

 grin = ROOT.TGraph(n, x, y)
 grout = gs.Approx(grin, "linear")
 grxy = ROOT.TGraph(n, x, y)
 gs = ROOT.TGraphSmooth("normal")
int n = 11
int nout = 14
 vC1 = ROOT.TCanvas("vC1", "square", 200, 10, 700, 700)
 vNout = grout.GetN()
 vXout = c_double()
 vYout = c_double()
 x = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 6.0, 6.0, 8.0, 9.0, 10.0])
 xout = np.array([1.2, 1.7, 2.5, 3.2, 4.4, 5.2, 5.7, 6.5, 7.6, 8.3, 9.7, 10.4, 11.3, 13])
 y = np.array([1.0, 4.0, 9.0, 16.0, 25.0, 25.0, 36.0, 49.0, 64.0, 81.0, 100.0])

Function Documentation

◆ DrawSmooth()

gr010_approx_smooth.DrawSmooth ( pad,
title,
xt,
yt )

Definition at line 23 of file gr010_approx_smooth.py.

Variable Documentation

◆ grin

gr010_approx_smooth.grin = ROOT.TGraph(n, x, y)

Definition at line 57 of file gr010_approx_smooth.py.

◆ grout

gr010_approx_smooth.grout = gs.Approx(grin, "linear")

Definition at line 60 of file gr010_approx_smooth.py.

◆ grxy

gr010_approx_smooth.grxy = ROOT.TGraph(n, x, y)

Definition at line 46 of file gr010_approx_smooth.py.

◆ gs

gr010_approx_smooth.gs = ROOT.TGraphSmooth("normal")

Definition at line 59 of file gr010_approx_smooth.py.

◆ n

int gr010_approx_smooth.n = 11

Definition at line 42 of file gr010_approx_smooth.py.

◆ nout

int gr010_approx_smooth.nout = 14

Definition at line 49 of file gr010_approx_smooth.py.

◆ vC1

gr010_approx_smooth.vC1 = ROOT.TCanvas("vC1", "square", 200, 10, 700, 700)

Definition at line 53 of file gr010_approx_smooth.py.

◆ vNout

gr010_approx_smooth.vNout = grout.GetN()

Definition at line 71 of file gr010_approx_smooth.py.

◆ vXout

gr010_approx_smooth.vXout = c_double()

Definition at line 72 of file gr010_approx_smooth.py.

◆ vYout

gr010_approx_smooth.vYout = c_double()

Definition at line 73 of file gr010_approx_smooth.py.

◆ x

gr010_approx_smooth.x = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 6.0, 6.0, 8.0, 9.0, 10.0])

Definition at line 43 of file gr010_approx_smooth.py.

◆ xout

gr010_approx_smooth.xout = np.array([1.2, 1.7, 2.5, 3.2, 4.4, 5.2, 5.7, 6.5, 7.6, 8.3, 9.7, 10.4, 11.3, 13])

Definition at line 50 of file gr010_approx_smooth.py.

◆ y

gr010_approx_smooth.y = np.array([1.0, 4.0, 9.0, 16.0, 25.0, 25.0, 36.0, 49.0, 64.0, 81.0, 100.0])

Definition at line 44 of file gr010_approx_smooth.py.