Python script update

This commit is contained in:
Damian Michalski 2020-04-03 21:13:32 +02:00
parent 96af397bae
commit 904f262468

View File

@ -7,20 +7,20 @@ x1 = []
y1 = []
x2 = []
y2 = []
counter = 0
counter = 1
with open('wer.txt','r') as txtfile:
plots = csv.reader(txtfile)
for row in plots:
x1.append(counter)
x1.append(int(counter))
y1.append(float(row[0]))
counter += 1
counter = 0
counter = 1
with open('srr.txt','r') as txtfile:
plots = csv.reader(txtfile)
for row in plots:
x2.append(counter)
x2.append(int(counter))
y2.append(float(row[0]))
counter += 1