summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ruby-stats')
-rw-r--r--ruby-stats/plot15
1 files changed, 9 insertions, 6 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot
index 44b5f0f..d1461d1 100644
--- a/ruby-stats/plot
+++ b/ruby-stats/plot
@@ -1,4 +1,6 @@
set terminal svg size 800,600
+set termoption dashed
+
set output "targets.svg"
set object 1 rect from screen 0, 0, 0 to screen 1, 1, 0 behind
@@ -12,9 +14,10 @@ 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"
+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: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"