diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54590ec --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.png +*.txt diff --git a/Jenkinsfile b/Jenkinsfile index d65a877..005487c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,4 +24,4 @@ pipeline { } } } -} \ No newline at end of file +} diff --git a/plot.py b/plot.py index 9698c92..637e374 100644 --- a/plot.py +++ b/plot.py @@ -5,22 +5,22 @@ X2, Y2 = [], [] y_num = 1 for line in open('wer.txt', 'r'): - Y1.append(float(line[:-1])) - X1.append(y_num) - y_num=y_num+1 + Y1.append(float(line[:-1])) + X1.append(y_num) + y_num = y_num + 1 y_num = 1 for line in open('srr.txt', 'r'): - Y2.append(float(line[:-1])) - X2.append(y_num) - y_num = y_num+1 + Y2.append(float(line[:-1])) + X2.append(y_num) + y_num = y_num + 1 fig, ax = plt.subplots() plt.xticks(X1) -plt.title("WER SRR") +plt.title("WER/SRR") plt.xlabel("Number") plt.ylabel("Value") plt.plot(X1, Y1) plt.plot(X1, Y2) ax.legend(["WER", "SRR"]) -plt.savefig('plot.png') \ No newline at end of file +plt.savefig('plot.png')