From ed3b4ba356b237a1cc4522391e4638536c0e07c5 Mon Sep 17 00:00:00 2001 From: massta Date: Sun, 5 Apr 2020 20:12:48 +0200 Subject: [PATCH] zad4 test19 --- jenkinsfile | 5 +++++ plotsrr.py | 8 ++++---- plotwer.py | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index 65a0b83..dc840be 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -27,6 +27,11 @@ archiveArtifacts 'averagewer.txt' archiveArtifacts 'wikiniews_results.tsv' } } + stage('Trigger builds') { + steps { +build 's452108-plots' + } + } } } diff --git a/plotsrr.py b/plotsrr.py index 763716c..c558d2c 100644 --- a/plotsrr.py +++ b/plotsrr.py @@ -11,13 +11,13 @@ i = 0 with open('averagesrr.txt','r') as csvfile: plots = csv.reader(csvfile, delimiter=' ') for row in plots: - x.append(float(row[0])) - y.append(int(i)) + y.append(float(row[0])) + x.append(int(i)) i=i+1 plt.plot(x,y) -plt.xlabel('SRR') -plt.ylabel('Numer') +plt.ylabel('SRR') +plt.xlabel('Numer') plt.title('Average plot SRR') plt.legend() plt.savefig('plotsrr.png') diff --git a/plotwer.py b/plotwer.py index 9ac9037..6dda0b8 100644 --- a/plotwer.py +++ b/plotwer.py @@ -11,13 +11,13 @@ i = 0 with open('averagewer.txt','r') as csvfile: plots = csv.reader(csvfile, delimiter=' ') for row in plots: - x.append(float(row[0])) - y.append(int(i)) + y.append(float(row[0])) + x.append(int(i)) i=i+1 plt.plot(x,y) -plt.xlabel('WER') -plt.ylabel('Numer') +plt.ylabel('WER') +plt.xlabel('Numer') plt.title('Average plot WER') plt.legend() plt.savefig('plotwer.png')