github.com/src-d/enry@v1.7.3/benchmarks/plot-histogram.gp (about)

     1  #!/usr/bin/env gnuplot
     2  
     3  set terminal png large font "arial,26" size 1920,1080
     4  set output 'benchmarks/histogram/distribution.png'
     5  
     6  set datafile separator comma
     7  set key under
     8  
     9  set style data histogram
    10  set style histogram clustered gap 1 title offset 1,1
    11  set style fill solid noborder
    12  set boxwidth 0.95
    13  set grid y
    14  set bmargin 12
    15  set autoscale
    16  set title "Number of files per processing time"
    17  
    18  plot newhistogram, 'benchmarks/csv/enry-distribution.csv' using 3:xtic(1) title "enry", 'benchmarks/csv/linguist-distribution.csv' using 3 title "linguist"
    19  
    20  unset output
    21