This commit is contained in:
alicja.m.musial 2020-04-03 20:19:52 +02:00
parent 33598a0deb
commit 564a56d21b

View File

@ -6,14 +6,14 @@ def readFile(file):
countL = 0
for line in inFile:
countL += 1
y2 = np.genfromtxt(file)
y2 = np.loadtxt(file)
return countL, y2;
def createplotWER():
countL, y2 = readFile('wer.txt')
# Data for plotting
x = np.arange(1, countL)
x = np.arange(1, countL, 1)
y = y2
fig, ax = plt.subplots()