summaryrefslogtreecommitdiff
blob: c730a7847fbdfcadfcc3c6218d17b4b648c9a63f (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
# -*- mode: gnuplot -*-

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 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"