plot 20
This commit is contained in:
parent
cca38f08f7
commit
b38c155584
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user