Logo ROOT  
Reference Guide
gr001_simple Namespace Reference

Variables

 c1 = ROOT.TCanvas("c1", "Two simple graphs", 200, 10, 700, 500)
 gr1 = ROOT.TGraph(n, x, y)
 gr2 = ROOT.TGraph(m, w, z)
 m = len(w)
int n = 20
 w = np.array([])
 w_str
 x = np.linspace(0, n - 1, n)
int y = 10 * np.sin(x + 0.2)
 z = np.array([])
 z_str

Variable Documentation

◆ c1

gr001_simple.c1 = ROOT.TCanvas("c1", "Two simple graphs", 200, 10, 700, 500)

Definition at line 18 of file gr001_simple.py.

◆ gr1

gr001_simple.gr1 = ROOT.TGraph(n, x, y)

Definition at line 30 of file gr001_simple.py.

◆ gr2

gr001_simple.gr2 = ROOT.TGraph(m, w, z)

Definition at line 66 of file gr001_simple.py.

◆ m

gr001_simple.m = len(w)

Definition at line 64 of file gr001_simple.py.

◆ n

int gr001_simple.n = 20

Definition at line 26 of file gr001_simple.py.

◆ w

gr001_simple.w = np.array([])

Definition at line 54 of file gr001_simple.py.

◆ w_str

gr001_simple.w_str

Definition at line 60 of file gr001_simple.py.

◆ x

gr001_simple.x = np.linspace(0, n - 1, n)

Definition at line 27 of file gr001_simple.py.

◆ y

int gr001_simple.y = 10 * np.sin(x + 0.2)

Definition at line 28 of file gr001_simple.py.

◆ z

gr001_simple.z = np.array([])

Definition at line 55 of file gr001_simple.py.

◆ z_str

gr001_simple.z_str

Definition at line 60 of file gr001_simple.py.