summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2013-10-15 17:57:39 +0200
committerHans de Graaff <hans@degraaff.org>2013-10-15 17:57:39 +0200
commitb1b045e957f5471289a495d5dd51800631024edc (patch)
tree66cb00791cbd916a28e6aea44d1883bdaee82c19 /ruby-stats
parentAdd ruby-stats script. (diff)
downloadruby-scripts-b1b045e957f5471289a495d5dd51800631024edc.tar.gz
ruby-scripts-b1b045e957f5471289a495d5dd51800631024edc.tar.bz2
ruby-scripts-b1b045e957f5471289a495d5dd51800631024edc.zip
A gnuplot script to plot the output of the ruby_stats.py script to SVG.
Diffstat (limited to 'ruby-stats')
-rw-r--r--ruby-stats/plot20
1 files changed, 20 insertions, 0 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot
new file mode 100644
index 0000000..44b5f0f
--- /dev/null
+++ b/ruby-stats/plot
@@ -0,0 +1,20 @@
+set terminal svg size 800,600
+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"
+set ylabel "Packages"
+set xlabel "Time"
+
+set xdata time
+set timefmt "%Y-%m-%d"
+set format x "%b %d"
+
+plot "data.txt" using 1:4 with lines title "ruby18", \
+ "data.txt" using 1:5 with lines title "ruby19", \
+ "data.txt" using 1:6 with lines title "ruby20", \
+ "data.txt" using 1:7 with lines title "jruby", \
+ "data.txt" using 1:8 with lines title "ree18", \
+ "data.txt" using 1:9 with lines title "rbx"