1
0
Fork 0

Adjusted tasktime graph style and spaced according to days not rows

master
Mike Gerwitz 2013-08-28 14:16:49 -04:00
parent 36c56bdf97
commit 6ae5f7d616
2 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,9 @@
set terminal png set terminal png size 1024,768
set bars 4.0 set key above horizontal autotitle columnheader
set bars 5.0
set xlabel "Date" set xlabel "Date"
set ylabel "Man Hours" set ylabel "Man Hours"
set grid y set grid y
set tics scale 0.0 set xtics rotate by -45
plot "tasktime.dat" using 1:3:4:3:4:xtic(2) title 'Time Interval' with candlesticks, \ plot "tasktime.dat" using 1:3:4:3:4:xtic(2) title 'Time Interval' with candlesticks, \
"tasktime.dat" using 1:5 title 'Mean' with lines "tasktime.dat" using 1:5 title 'Mean' with lines

View File

@ -17,7 +17,7 @@ domake \
&& head -n1 taskstats.dat \ && head -n1 taskstats.dat \
&& \ && \
( (
gendate && tail -n1 taskstats.dat \ echo -n '0 ' && gendate && tail -n1 taskstats.dat \
&& git log --first-parent --no-merges --pretty=format:'%ar %h' \ && git log --first-parent --no-merges --pretty=format:'%ar %h' \
| awk ' | awk '
BEGIN { BEGIN {
@ -34,10 +34,9 @@ domake \
| while read n h; do | while read n h; do
git checkout "$h" >&2 \ git checkout "$h" >&2 \
&& domake \ && domake \
&& echo -n "-$n " \
&& gendate \ && gendate \
&& tail -n1 taskstats.dat \ && tail -n1 taskstats.dat \
|| exit 1 || exit 1
done done
) \ )
| tac \
| awk 'BEGIN{i=0}{i++; printf "%d ", i; print}'