zad4 test20

This commit is contained in:
massta 2020-04-05 20:16:41 +02:00
parent ed3b4ba356
commit feeaae192b
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import csv
x = [] x = []
y = [] y = []
i = 0 i = 1
with open('averagesrr.txt','r') as csvfile: with open('averagesrr.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ') plots = csv.reader(csvfile, delimiter=' ')
@ -17,7 +17,7 @@ with open('averagesrr.txt','r') as csvfile:
plt.plot(x,y) plt.plot(x,y)
plt.ylabel('SRR') plt.ylabel('SRR')
plt.xlabel('Numer') plt.xlabel('Build number')
plt.title('Average plot SRR') plt.title('Average plot SRR')
plt.legend() plt.legend()
plt.savefig('plotsrr.png') plt.savefig('plotsrr.png')

View File

@ -6,7 +6,7 @@ import csv
x = [] x = []
y = [] y = []
i = 0 i = 1
with open('averagewer.txt','r') as csvfile: with open('averagewer.txt','r') as csvfile:
plots = csv.reader(csvfile, delimiter=' ') plots = csv.reader(csvfile, delimiter=' ')
@ -17,7 +17,7 @@ with open('averagewer.txt','r') as csvfile:
plt.plot(x,y) plt.plot(x,y)
plt.ylabel('WER') plt.ylabel('WER')
plt.xlabel('Numer') plt.xlabel('Build number')
plt.title('Average plot WER') plt.title('Average plot WER')
plt.legend() plt.legend()
plt.savefig('plotwer.png') plt.savefig('plotwer.png')