-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_graph.py
More file actions
28 lines (22 loc) · 838 Bytes
/
plot_graph.py
File metadata and controls
28 lines (22 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
from ROOT import *
import sys
import time
g = TGraph()
#g.SetPoint(0,0,2.96970000000000000e+04);
#g.SetPoint(1,100,2.96230000000000000e+04);
#g.SetPoint(2,200,2.94580000000000000e+04);
#g.SetPoint(3,300,2.92950000000000000e+04);
#g.SetPoint(4,400,2.91270000000000000e+04);
#g.SetPoint(5,500,2.81330000000000000e+04);
g.SetPoint(0,0,2.96970000000000000e+04/2.96970000000000000e+04);
g.SetPoint(1,100,2.96230000000000000e+04/2.96970000000000000e+04);
g.SetPoint(2,200,2.94580000000000000e+04/2.96970000000000000e+04);
g.SetPoint(3,300,2.92950000000000000e+04/2.96970000000000000e+04);
g.SetPoint(4,400,2.91270000000000000e+04/2.96970000000000000e+04);
g.SetPoint(5,500,2.81330000000000000e+04/2.96970000000000000e+04);
g.SetMarkerStyle(3)
g.SetMarkerSize(2)
g.SetLineWidth(0)
g.Draw("AP")
raw_input("hit a key")