zad4 test15

This commit is contained in:
massta 2020-04-05 19:56:33 +02:00
parent e0f8992501
commit 4085f90893
2 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ i = 0
with open('averagesrr.txt','r') as csvfile: with open('averagesrr.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ') plots = csv.reader(csvfile, delimiter=' ')
for row in plots: for row in plots:
x.append(round(row[0], 2)) x.append(float(round(row[0], 2)))
y.append(i) y.append(int(i))
i=i+1 i=i+1
plt.plot(x,y, label='SRR') plt.plot(x,y, label='SRR')

View File

@ -8,8 +8,8 @@ i = 0
with open('averagewer.txt','r') as csvfile: with open('averagewer.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ') plots = csv.reader(csvfile, delimiter=' ')
for row in plots: for row in plots:
x.append(round(row[0], 2)) x.append(float(round(row[0], 2)))
y.append(i) y.append(int(i))
i=i+1 i=i+1
plt.plot(x,y, label='WER') plt.plot(x,y, label='WER')