summaryrefslogtreecommitdiff
blob: 2d91ec7ae56ece110702f8a1798c829bd1f17df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- mode: gnuplot -*-

set terminal svg size 1280,960 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 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 '%y"
set key left maxrows 3
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:12 with lines lt 1 lc 9 title "ruby23", \
     "data.txt" using 1:13 with lines lt 1 lc 10 title "ruby24", \
     "data.txt" using 1:14 with lines lt 1 lc 11 title "ruby25", \
     "data.txt" using 1:15 with lines lt 1 lc 12 title "ruby26", \
     "data.txt" using 1:16 with lines lt 1 lc 13 title "ruby27", \
     "data.txt" using 1:17 with lines lt 1 lc 14 title "ruby30", \
     "data.txt" using 1:18 with lines lt 1 lc 15 title "ruby31", \
     "data.txt" using 1:19 with lines lt 1 lc 16 title "ruby32", \
     "data.txt" using 1:20 with lines lt 1 lc 17 title "ruby33"