Faire un calendrier d'activité git avec gnuplot - retour accueil
git clone git://bebou.netlib.re/git-cal
Log | Files | Refs | README |
commit c83912738eb9147a640b605780d1544018f5bde5 parent dbc61620846da9c2db57a06cba384cc0e914cf5b Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Wed, 23 Oct 2024 14:28:02 +0200 Jours sans plus clairs, ajout de jeudi Diffstat:
M | graph.gp | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/graph.gp b/graph.gp @@ -5,8 +5,7 @@ width=2000 set term pngcairo size width,(width/(52/7)) set datafile separator "\t" -set tmargin 1 -set lmargin 6.5 +set tmargin 1; set lmargin 6.5 x(nl) = floor(nl/7) y(nl) = int(nl*-1)%7 @@ -16,9 +15,10 @@ unset key unset tics unset colorbox -set palette defined ( 0 "light-grey", 1 "light-blue", 20 "blue", 50 "dark-blue" ) +set palette defined ( 0 "#EEEEEE", 1 "light-blue", 20 "blue", 50 "dark-blue" ) set label "Mon" at -1.5, 0 +set label "Thu" at -1.5,-3 set label "Sun" at -1.5,-6 plot 'nbofcommits.tsv' u (words(strcol(2))>1 ? x($0):NaN):(y($0)):1 \