summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <manuel@rueg.eu>2014-12-27 20:52:24 +0100
committerManuel Rüger <manuel@rueg.eu>2014-12-27 20:52:24 +0100
commit2f46c6e92ad914ef3e07ab92eba98fc9344b8ae2 (patch)
tree35fdf723522bf2ae746ee02f9a43f379117909e3 /ruby-stats/stable/plot
parentDrop accidentally added message. (diff)
downloadruby-scripts-2f46c6e92ad914ef3e07ab92eba98fc9344b8ae2.tar.gz
ruby-scripts-2f46c6e92ad914ef3e07ab92eba98fc9344b8ae2.tar.bz2
ruby-scripts-2f46c6e92ad914ef3e07ab92eba98fc9344b8ae2.zip
Add script for stable statistics.
Diffstat (limited to 'ruby-stats/stable/plot')
-rw-r--r--ruby-stats/stable/plot26
1 files changed, 26 insertions, 0 deletions
diff --git a/ruby-stats/stable/plot b/ruby-stats/stable/plot
new file mode 100644
index 0000000..b160d36
--- /dev/null
+++ b/ruby-stats/stable/plot
@@ -0,0 +1,26 @@
+set terminal svg size 1024,768 enhanced
+set termoption dashed
+
+set output "targets.svg"
+
+set object 1 rect from screen 0, 0, 0 to screen 1, 1, 0 behind
+set object 1 rect fc rgb "white" fillstyle solid 1.0
+
+set title "RUBY\\_TARGETS support in Gentoo\n{/*0.7 based on latest stable amd64 version per slot \\@ `cat $(portageq portdir 2>/dev/null)/metadata/timestamp`}"
+set ylabel "Packages"
+set xlabel "Time"
+set xdata time
+set timefmt "%Y-%m-%d"
+set format x "%b %d"
+
+set key top left
+
+plot "data.txt" using 1:3 with lines lt 2 title "total", \
+ "data.txt" using 1:4 with lines lt 1 lc 1 title "ruby18", \
+ "data.txt" using 1:5 with lines lt 1 lc 2 title "ruby19", \
+ "data.txt" using 1:6 with lines lt 1 lc 3 title "ruby20", \
+ "data.txt" using 1:10 with lines lt 1 lc 7 title "ruby21", \
+ "data.txt" using 1:11 with lines lt 1 lc 8 title "ruby22", \
+ "data.txt" using 1:7 with lines lt 1 lc 4 title "jruby", \
+ "data.txt" using 1:8 with lines lt 1 lc 5 title "ree18", \
+ "data.txt" using 1:9 with lines lt 1 lc 6 title "rbx"