<commit_before>set terminal png transparent nointerlace \
    font "lucon.ttf,20" \
    size 1920,1080 nocrop \
    noenhanced \
    background '#FFFFFF'

set output "background-title.png"
set encoding utf8

set style line 101 linetype 1 linewidth 5 linecolor rgbcolor '#000000'
set style line 102 linetype 2 linewidth 4 linecolor rgbcolor '#999999'
set style line 103 linetype 3 linewidth 4 linecolor rgbcolor '#A00000'
set style line 104 linetype 4 linewidth 4 linecolor rgbcolor '#FF0000'
set style line 105 linetype 5 linewidth 4 linecolor rgbcolor '#007000'
set style line 106 linetype 6 linewidth 6 linecolor rgbcolor '#00FF00'
set style line 107 linetype 7 linewidth 4 linecolor rgbcolor '#0000A0'
set style line 108 linetype 8 linewidth 4 linecolor rgbcolor '#1E90FF'
set style line 109 linetype 9 linewidth 4 linecolor rgbcolor '#A020F0'

set key off

# TODO: set origin and size as options or calculate.
set origin 0.02,0
set size 0.98,1
set ytics
set xtics
set border
set colorbox
set xrange [-3:3]
set grid xtics
set mxtics
set xlabel "x" font "lucon.ttf,30"

set format y ""
set format x ""
set grid ytics
set mytics
set my2tics
set ylabel "f(x)" font "lucon.ttf,30"
#set ytics nomirror
#set y2tics nomirror
set label 1 "2005-2017 © eigenholser" \
    at screen 0.99,0.014 right font "times.ttf,12"
#set label 2 "f(x) = x^3 + 3x^2 - 13x + 42" at screen 0.21,0.865 left font "times.ttf,30"
#set label 3 "f(x) = α(x^3 + x^2 - 26x + 24) + 2x^2 + 13x + 18" at screen 0.21,0.830 left font "times.ttf,30"
#set title "Cubic polynomials passing through points (-4,50) and (1,40)" font "lucon.ttf,30"

# Greek α symbol is U03B1
f(x) = x**3 + 3*x**2 - 13.0*x + 42
x1 = -6
x2 = 1
x3 = 4
set style line 1 pointtype 7 linecolor rgb '#000000' pointsize 4
plot \
    -120*x - 300 axes x1y1 not with lines linestyle 102, \
    90*x**2 -20*x - 90 axes x1y1 not with lines linestyle 102, \
    12*x**3 - 8*x**2 - 20*x - 100  axes x1y1 not with lines linestyle 102, \
    2*x**4 - 19*x**3 + 3*x**2 + x - 300 axes x1y1 not with lines linestyle 102
<commit_msg>Add linear polynomial. Remove extra cruft.<commit_after>set terminal png transparent nointerlace \
    font "lucon.ttf,20" \
    size 1920,1080 nocrop \
    noenhanced \
    background '#FFFFFF'

set output "background-title.png"
set encoding utf8

set style line 101 linetype 1 linewidth 5 linecolor rgbcolor '#000000'
set style line 102 linetype 2 linewidth 4 linecolor rgbcolor '#999999'
set style line 103 linetype 3 linewidth 4 linecolor rgbcolor '#A00000'
set style line 104 linetype 4 linewidth 4 linecolor rgbcolor '#FF0000'
set style line 105 linetype 5 linewidth 4 linecolor rgbcolor '#007000'
set style line 106 linetype 6 linewidth 6 linecolor rgbcolor '#00FF00'
set style line 107 linetype 7 linewidth 4 linecolor rgbcolor '#0000A0'
set style line 108 linetype 8 linewidth 4 linecolor rgbcolor '#1E90FF'
set style line 109 linetype 9 linewidth 4 linecolor rgbcolor '#A020F0'

set key off

# TODO: set origin and size as options or calculate.
set origin 0.02,0
set size 0.98,1
set ytics
set xtics
set border
set colorbox
set xrange [-3:3]
set grid xtics
set mxtics
set xlabel "x" font "lucon.ttf,30"

set format y ""
set format x ""
set grid ytics
set mytics
set my2tics
set ylabel "f(x)" font "lucon.ttf,30"
#set ytics nomirror
#set y2tics nomirror
set label 1 "2005-2017 © eigenholser" \
    at screen 0.99,0.014 right font "times.ttf,12"
#set label 2 "f(x) = x^3 + 3x^2 - 13x + 42" at screen 0.21,0.865 left font "times.ttf,30"
#set label 3 "f(x) = α(x^3 + x^2 - 26x + 24) + 2x^2 + 13x + 18" at screen 0.21,0.830 left font "times.ttf,30"
#set title "Cubic polynomials passing through points (-4,50) and (1,40)" font "lucon.ttf,30"

set style line 1 pointtype 7 linecolor rgb '#000000' pointsize 4
plot \
    -120*x - 300 axes x1y1 not with lines linestyle 102, \
    90*x**2 -20*x - 90 axes x1y1 not with lines linestyle 102, \
    12*x**3 - 8*x**2 - 20*x - 100  axes x1y1 not with lines linestyle 102, \
    2*x**4 - 19*x**3 + 3*x**2 + x - 300 axes x1y1 not with lines linestyle 102, \
    260*x  axes x1y1 not with lines linestyle 102

{'fraction_non_alphanumeric': 0.09671132764920828, 'fraction_numerical': 0.12399512789281364, 'mean_word_length': 3.7633410672853826, 'pattern_counts': {'":': 0, '<': 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': '3500323', 'n_tokens_mistral': 1891, 'n_tokens_neox': 1487, 'n_words': 609}