git-cal

Faire un calendrier d'activité git avec gnuplot - retour accueil

git clone git://bebou.netlib.re/git-cal
Log | Files | Refs | README |

commit b4652f57fef51e33beafda76bd0559126c1aab65
parent e2271485fdc3ae2a066288c17d8d7459f1fd7177
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Mon, 21 Oct 2024 20:19:07 +0200

Passage au style avec points carrés

Beaucoup plus simple, voir Annexe D page 24 de Gnuplot in action

Diffstat:
Mgraph.gp | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/graph.gp b/graph.gp @@ -15,10 +15,10 @@ set palette defined ( 0 "light-grey", 1 "light-blue", 20 "blue", 50 "dark-blue" xlow(nl) = floor(nl/7) ylow(nl) = int(nl*-1)%7 -set label "Mon" at -1.5, 0.5 -set label "Sun" at -1.5,-5.5 +set label "Mon" at -1.5, 0 +set label "Sun" at -1.5,-6 plot 'nbofcommits.dat' \ - u (0):($3==0 ? NaN:0):(xlow($0)):(xlow($0)+gap):(ylow($0)):(ylow($0)+gap):1 \ - w boxxy lc palette, \ -'' u (xlow($0)+0.45):(word(strcol(2),4) eq "01" ? 1.3:NaN):(word(strcol(2),3)) w labels + u ($3==1 ? xlow($0):NaN):(ylow($0)):1 \ + w p pt 5 ps 4 lc palette, \ +'' u (xlow($0)):(word(strcol(2),4) eq "01" ? 1.3:NaN):(word(strcol(2),3)) w labels