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 bars 4.0
set terminal png size 1024,768
set key above horizontal autotitle columnheader
set bars 5.0
set xlabel "Date"
set ylabel "Man Hours"
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, \
"tasktime.dat" using 1:5 title 'Mean' with lines

View File

@ -17,7 +17,7 @@ domake \
&& 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' \
| awk '
BEGIN {
@ -34,10 +34,9 @@ domake \
| while read n h; do
git checkout "$h" >&2 \
&& domake \
&& echo -n "-$n " \
&& gendate \
&& tail -n1 taskstats.dat \
|| exit 1
done
) \
| tac \
| awk 'BEGIN{i=0}{i++; printf "%d ", i; print}'
)