Ces statistiques sont principalement issues de la page http://linuxfr.org/stats/frequentation.html#stats_news ayant permis de générer le fichier .csv
statistiques DLFP avec gnuplot
Statistiques des dépêches par annéehttp://download.tuxfamily.org/cooker/DLFP/stats/DLFP_news_by_year.png
http://download.tuxfamily.org/cooker/DLFP/stats/DLFP_news_by_month.png
SVG pour statistiques mensuelles de DLFP
Fichier de commande de gnuplot
Penser à générer le gnuplot_news_by_year.inc en ISO-8859-15 (au besoin en utilisant iconv --from-code=UTF-8 --to-code=ISO-8859-15 gnuplot_news_by_year.inc > gnuplot_news_by_year.inc_iso)Télécharger gnuplot_news_by_year.inc et module de lancement
# gnuplot gnuplot_news_by_year.inc # B.Aud 2010-10-09 # input file is in csv, with separator ';' #dépêches par année;validées;refusées;à purger;total #2000;1016;0;0;1016 #2001;2728;2635;3;5366 #2002;2526;1299;7;3832 #2003;2104;2005;29;4138 #2004;1286;1739;4;3029 #2005;1004;1144;0;2148 #2006;941;740;1;1682 #2007;970;551;7;1528 #2008;924;356;30;1310 #2009;1108;303;60;1471 #2010;819;202;135;1159 # named stats_news_by_year.csv set term png small # x-axis is time #set xdata time #set timefmt "%Y-%m-%d %H:%M" #set format x "%d/%m" #set format x "%Y" # ignore decimal as it comes from a csv #set decimalsign ',' # could be enhanced if separator were ; :) set datafile separator ';' # do not set to have automatic range for x #set xrange ["22/09/2010 00:00:00":"30/09/2010 00:00:00"] #set missing 'NaN' set out "DLFP_news_by_year.png" set title "Nombre de dépêches par an sur LinuxFr" set xlabel "Année" rotate by 43 #set label x "Days" rotate set ylabel "Nombre de dépêches" # put a legend on the top-right set key right top set autoscale y # use solid line blue set style line 1 lt 1 lw 3 #plot 'stats_news_by_year.csv' using 1:7 notitle smooth sbezier with lines # y 'smooth cumulative' # '' tells gnuplot to reuse same file as on first line plot 'stats_news_by_year.csv' using 1:2 title "Validées" with lines , \ '' using 1:3 title "Refusées" with lines, \ '' using 1:4 title "A purger" with lines, \ '' using 1:5 title "Total" with lines reset
#! /bin/bash # B.Aud 2010-10-09 GPL-3+ gnuplot gnuplot_news_by_year.inc eog DLFP_news_by_year.png