This commit is contained in:
alicja.m.musial 2020-04-03 21:01:26 +02:00
parent cca38f08f7
commit b38c155584

View File

@ -8,14 +8,11 @@ def readFile(file, y):
return y;
def createplotWER():
x = []
y = []
y = readFile('werForPlot.txt', y)
# Data for plotting
x = np.arange(1, len(y), 1)
fig, ax = plt.subplots()
ax.plot(x, y)
ax.plot(range(1, len(y) + 1)), y)
ax.set(xlabel='Build number', ylabel='Percent [%]',
title='Metric for ASR')
ax.grid()
@ -27,11 +24,9 @@ def createplotSRR():
x = []
y = []
y = readFile('srrForPlot.txt', y)
# Data for plotting
x = np.arange(1, len(y), 1)
fig, ax = plt.subplots()
ax.plot(x, y)
ax.plot(range(1, len(y) + 1)), y)
ax.set(xlabel='Build number', ylabel='Percent [%]',
title='Metric for ASR')
ax.grid()