diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-11 23:26:39 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-11 23:26:39 +0100 |
commit | e5226a715847c3b73916595dbb4011c311783bb5 (patch) | |
tree | c86490c5edd82d66d47a949a31bdcce619728b8c | |
parent | 0022718c87e751a0301fb87299f9ffa469decffa (diff) | |
download | jenkins.debian.net-e5226a715847c3b73916595dbb4011c311783bb5.tar.xz |
reproducible: 4 columns for that image
-rwxr-xr-x | bin/make_graph.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py index fae1ddcd..0ed4bcf2 100755 --- a/bin/make_graph.py +++ b/bin/make_graph.py @@ -48,6 +48,8 @@ def main(): r('barplot(t(v),col = 1:'+columns+', main="'+mainlabel+'", xlab="", ylab="'+ylabel+'", space=0, border=NA)') if int(colors) < 10: r('legend(x="bottom",legend=colnames(t), ncol=2,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")') + elif int(colors) = 10: + r('legend(x="bottom",legend=colnames(t), ncol=4,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")') else: r('legend(x="bottom",legend=colnames(t), ncol=7,fill=1:'+columns+',xjust=0.5,yjust=0,bty="n")') grdevices.dev_off() |