Python script update
This commit is contained in:
parent
96af397bae
commit
904f262468
8
plot.py
8
plot.py
@ -7,20 +7,20 @@ x1 = []
|
|||||||
y1 = []
|
y1 = []
|
||||||
x2 = []
|
x2 = []
|
||||||
y2 = []
|
y2 = []
|
||||||
counter = 0
|
counter = 1
|
||||||
|
|
||||||
with open('wer.txt','r') as txtfile:
|
with open('wer.txt','r') as txtfile:
|
||||||
plots = csv.reader(txtfile)
|
plots = csv.reader(txtfile)
|
||||||
for row in plots:
|
for row in plots:
|
||||||
x1.append(counter)
|
x1.append(int(counter))
|
||||||
y1.append(float(row[0]))
|
y1.append(float(row[0]))
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
counter = 0
|
counter = 1
|
||||||
with open('srr.txt','r') as txtfile:
|
with open('srr.txt','r') as txtfile:
|
||||||
plots = csv.reader(txtfile)
|
plots = csv.reader(txtfile)
|
||||||
for row in plots:
|
for row in plots:
|
||||||
x2.append(counter)
|
x2.append(int(counter))
|
||||||
y2.append(float(row[0]))
|
y2.append(float(row[0]))
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user