<commit_before># Note you need gnuplot 4.4 for the pdfcairo terminal.

# set terminal pdfcairo font "Gill Sans,9" linewidth 4 rounded fontscale 1.0
set terminal pdfcairo font "Gill Sans,7" linewidth 1 rounded fontscale 0.5


set border 3 front linewidth 1.000
set boxwidth 0.8 absolute
set style fill   solid 1.00 noborder
set grid nopolar
set grid noxtics nomxtics ytics nomytics noztics nomztics \
 nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault   lt 0 linewidth 0.500,  lt 0 linewidth 0.500
set key bmargin center horizontal Left reverse noenhanced autotitle columnhead nobox maxcols 2 maxrows 1
set style histogram rowstacked title textcolor lt -1 offset character 2, 0.25, 0
set style data histograms
set cbtics border in scale 0,0 mirror norotate  autojustify
set rtics axis in scale 0,0 nomirror norotate  autojustify
set title "Advertisement Impression Counter" 
set xlabel "(Client Number)" 
set xlabel  offset character 0, -1, 0 font "" textcolor lt -1 norotate
set ylabel "GB Transmitted" 
set yrange [0:*]
##set yrange [ 0.00000 : 900000. ] noreverse nowriteback

set linetype 1 lc rgb "#A00000"
set linetype 2 lc rgb "#2c3e50"
set linetype 3 lc rgb "#5060D0"
set linetype 4 lc rgb "#F25900"
set datafile separator ","
set output outputname
plot newhistogram "32", inputname using "32_s":xtic(1) t 'State' lc 3, '' u "32_p" t 'Protocol' lc 4, \
     newhistogram "64", '' u "64_s":xtic(1) t '' lc 3, '' u "64_p" t '' lc 4, \
     newhistogram "128", '' u "128_s":xtic(1) t '' lc 3, '' u "128_p" t '' lc 4, \
     newhistogram "256", '' u "256_s":xtic(1) t '' lc 3, '' u "256_p" t '' lc 4
<commit_msg>Update plots.<commit_after># Note you need gnuplot 4.4 for the pdfcairo terminal.

# set terminal pdfcairo font "Gill Sans,9" linewidth 4 rounded fontscale 1.0
set terminal pdfcairo font "Gill Sans,7" linewidth 1 rounded fontscale 0.8

set border 3 front linewidth 1.000
set boxwidth 0.8 absolute
set style fill   solid 1.00 noborder
set grid nopolar
set grid noxtics nomxtics ytics nomytics noztics nomztics \
 nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault   lt 0 linewidth 0.500,  lt 0 linewidth 0.500
set key bmargin center horizontal Left reverse noenhanced autotitle columnhead nobox maxcols 2 maxrows 1
set style histogram rowstacked title textcolor lt -1 offset character 2, 0.25, 0
set style data histograms
set cbtics border in scale 0,0 mirror norotate  autojustify
set rtics axis in scale 0,0 nomirror norotate  autojustify
set title "Advertisement Impression Counter" 
set xlabel "(Client Number)" 
set xlabel  offset character 0, -1, 0 font "" textcolor lt -1 norotate
set ylabel "GB Transmitted" 
set yrange [0:*]
set ytics nomirror

##set yrange [ 0.00000 : 900000. ] noreverse nowriteback

set linetype 1 lc rgb "#A00000"
set linetype 2 lc rgb "#2c3e50"
set linetype 3 lc rgb "#5060D0"
set linetype 4 lc rgb "#F25900"
set datafile separator ","
set output outputname
# plot newhistogram "32", inputname using "32_s":xtic(1) t 'State' lc 3, '' u "32_p" t 'Protocol' lc 4, \
#      newhistogram "64", '' u "64_s":xtic(1) t '' lc 3, '' u "64_p" t '' lc 4, \
#      newhistogram "128", '' u "128_s":xtic(1) t '' lc 3, '' u "128_p" t '' lc 4, \
#      newhistogram "256", '' u "256_s":xtic(1) t '' lc 3, '' u "256_p" t '' lc 4, \
#      newhistogram "512", '' u "512_s":xtic(1) t '' lc 3, '' u "512_p" t '' lc 4, \
#      newhistogram "1024", '' u "1024_s":xtic(1) t '' lc 3, '' u "1024_p" t '' lc 4
plot newhistogram "128", inputname u "128_s":xtic(1) t '' lc 3, '' u "128_p" t '' lc 4, \
     newhistogram "256", '' u "256_s":xtic(1) t '' lc 3, '' u "256_p" t '' lc 4, \
     newhistogram "512", '' u "512_s":xtic(1) t '' lc 3, '' u "512_p" t '' lc 4, \
     newhistogram "1024", '' u "1024_s":xtic(1) t '' lc 3, '' u "1024_p" t '' lc 4
# plot newhistogram "32", inputname using "32_s":xtic(1) t 'State' lc 3, '' u "32_p" t 'Protocol' lc 4, \
#      newhistogram "64", '' u "64_s":xtic(1) t '' lc 3, '' u "64_p" t '' lc 4

{'fraction_non_alphanumeric': 0.11590229312063809, 'fraction_numerical': 0.08773678963110668, 'mean_word_length': 3.917892156862745, 'pattern_counts': {'":': 16, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1325794', 'n_tokens_mistral': 1775, 'n_tokens_neox': 1497, 'n_words': 590}