diff options
author | Anthony Wang | 2024-06-03 21:18:27 -0500 |
---|---|---|
committer | Anthony Wang | 2024-06-03 21:18:27 -0500 |
commit | 87b28ba1c11757df06b1b875e82b12439ab2a558 (patch) | |
tree | 25b7475da89746761946a7b08e9128e141135703 /static | |
parent | c6756507ccc2267e4a24c49b737d6c28652306db (diff) |
THE END
Diffstat (limited to 'static')
-rw-r--r-- | static/img/short-story-wc-plot.svg | 945 | ||||
-rw-r--r-- | static/src/short-story-wc-plot.py | 9 |
2 files changed, 954 insertions, 0 deletions
diff --git a/static/img/short-story-wc-plot.svg b/static/img/short-story-wc-plot.svg new file mode 100644 index 0000000..995fcae --- /dev/null +++ b/static/img/short-story-wc-plot.svg @@ -0,0 +1,945 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="460.8pt" height="345.6pt" viewBox="0 0 460.8 345.6" xmlns="http://www.w3.org/2000/svg" version="1.1"> + <metadata> + <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <cc:Work> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <dc:date>2024-06-03T21:08:57.214415</dc:date> + <dc:format>image/svg+xml</dc:format> + <dc:creator> + <cc:Agent> + <dc:title>Matplotlib v3.8.3, https://matplotlib.org/</dc:title> + </cc:Agent> + </dc:creator> + </cc:Work> + </rdf:RDF> + </metadata> + <defs> + <style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style> + </defs> + <g id="figure_1"> + <g id="patch_1"> + <path d="M 0 345.6 +L 460.8 345.6 +L 460.8 0 +L 0 0 +z +" style="fill: #ffffff"/> + </g> + <g id="axes_1"> + <g id="patch_2"> + <path d="M 57.6 307.584 +L 414.72 307.584 +L 414.72 41.472 +L 57.6 41.472 +z +" style="fill: #ffffff"/> + </g> + <g id="matplotlib.axis_1"> + <g id="xtick_1"> + <g id="line2d_1"> + <defs> + <path id="mc84dacd1f7" d="M 0 0 +L 0 3.5 +" style="stroke: #000000; stroke-width: 0.8"/> + </defs> + <g> + <use xlink:href="#mc84dacd1f7" x="73.832727" y="307.584" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_1"> + <!-- 1 --> + <g transform="translate(70.651477 322.182437) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-31" d="M 794 531 +L 1825 531 +L 1825 4091 +L 703 3866 +L 703 4441 +L 1819 4666 +L 2450 4666 +L 2450 531 +L 3481 531 +L 3481 0 +L 794 0 +L 794 531 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-31"/> + </g> + </g> + </g> + <g id="xtick_2"> + <g id="line2d_2"> + <g> + <use xlink:href="#mc84dacd1f7" x="138.763636" y="307.584" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_2"> + <!-- 2 --> + <g transform="translate(135.582386 322.182437) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-32" d="M 1228 531 +L 3431 531 +L 3431 0 +L 469 0 +L 469 531 +Q 828 903 1448 1529 +Q 2069 2156 2228 2338 +Q 2531 2678 2651 2914 +Q 2772 3150 2772 3378 +Q 2772 3750 2511 3984 +Q 2250 4219 1831 4219 +Q 1534 4219 1204 4116 +Q 875 4013 500 3803 +L 500 4441 +Q 881 4594 1212 4672 +Q 1544 4750 1819 4750 +Q 2544 4750 2975 4387 +Q 3406 4025 3406 3419 +Q 3406 3131 3298 2873 +Q 3191 2616 2906 2266 +Q 2828 2175 2409 1742 +Q 1991 1309 1228 531 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-32"/> + </g> + </g> + </g> + <g id="xtick_3"> + <g id="line2d_3"> + <g> + <use xlink:href="#mc84dacd1f7" x="203.694545" y="307.584" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_3"> + <!-- 3 --> + <g transform="translate(200.513295 322.182437) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-33" d="M 2597 2516 +Q 3050 2419 3304 2112 +Q 3559 1806 3559 1356 +Q 3559 666 3084 287 +Q 2609 -91 1734 -91 +Q 1441 -91 1130 -33 +Q 819 25 488 141 +L 488 750 +Q 750 597 1062 519 +Q 1375 441 1716 441 +Q 2309 441 2620 675 +Q 2931 909 2931 1356 +Q 2931 1769 2642 2001 +Q 2353 2234 1838 2234 +L 1294 2234 +L 1294 2753 +L 1863 2753 +Q 2328 2753 2575 2939 +Q 2822 3125 2822 3475 +Q 2822 3834 2567 4026 +Q 2313 4219 1838 4219 +Q 1578 4219 1281 4162 +Q 984 4106 628 3988 +L 628 4550 +Q 988 4650 1302 4700 +Q 1616 4750 1894 4750 +Q 2613 4750 3031 4423 +Q 3450 4097 3450 3541 +Q 3450 3153 3228 2886 +Q 3006 2619 2597 2516 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-33"/> + </g> + </g> + </g> + <g id="xtick_4"> + <g id="line2d_4"> + <g> + <use xlink:href="#mc84dacd1f7" x="268.625455" y="307.584" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_4"> + <!-- 4 --> + <g transform="translate(265.444205 322.182437) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-34" d="M 2419 4116 +L 825 1625 +L 2419 1625 +L 2419 4116 +z +M 2253 4666 +L 3047 4666 +L 3047 1625 +L 3713 1625 +L 3713 1100 +L 3047 1100 +L 3047 0 +L 2419 0 +L 2419 1100 +L 313 1100 +L 313 1709 +L 2253 4666 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-34"/> + </g> + </g> + </g> + <g id="xtick_5"> + <g id="line2d_5"> + <g> + <use xlink:href="#mc84dacd1f7" x="333.556364" y="307.584" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_5"> + <!-- 5 --> + <g transform="translate(330.375114 322.182437) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-35" d="M 691 4666 +L 3169 4666 +L 3169 4134 +L 1269 4134 +L 1269 2991 +Q 1406 3038 1543 3061 +Q 1681 3084 1819 3084 +Q 2600 3084 3056 2656 +Q 3513 2228 3513 1497 +Q 3513 744 3044 326 +Q 2575 -91 1722 -91 +Q 1428 -91 1123 -41 +Q 819 9 494 109 +L 494 744 +Q 775 591 1075 516 +Q 1375 441 1709 441 +Q 2250 441 2565 725 +Q 2881 1009 2881 1497 +Q 2881 1984 2565 2268 +Q 2250 2553 1709 2553 +Q 1456 2553 1204 2497 +Q 953 2441 691 2322 +L 691 4666 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-35"/> + </g> + </g> + </g> + <g id="xtick_6"> + <g id="line2d_6"> + <g> + <use xlink:href="#mc84dacd1f7" x="398.487273" y="307.584" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_6"> + <!-- 6 --> + <g transform="translate(395.306023 322.182437) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-36" d="M 2113 2584 +Q 1688 2584 1439 2293 +Q 1191 2003 1191 1497 +Q 1191 994 1439 701 +Q 1688 409 2113 409 +Q 2538 409 2786 701 +Q 3034 994 3034 1497 +Q 3034 2003 2786 2293 +Q 2538 2584 2113 2584 +z +M 3366 4563 +L 3366 3988 +Q 3128 4100 2886 4159 +Q 2644 4219 2406 4219 +Q 1781 4219 1451 3797 +Q 1122 3375 1075 2522 +Q 1259 2794 1537 2939 +Q 1816 3084 2150 3084 +Q 2853 3084 3261 2657 +Q 3669 2231 3669 1497 +Q 3669 778 3244 343 +Q 2819 -91 2113 -91 +Q 1303 -91 875 529 +Q 447 1150 447 2328 +Q 447 3434 972 4092 +Q 1497 4750 2381 4750 +Q 2619 4750 2861 4703 +Q 3103 4656 3366 4563 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-36"/> + </g> + </g> + </g> + <g id="text_7"> + <!-- Story number --> + <g transform="translate(201.848281 335.860562) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-53" d="M 3425 4513 +L 3425 3897 +Q 3066 4069 2747 4153 +Q 2428 4238 2131 4238 +Q 1616 4238 1336 4038 +Q 1056 3838 1056 3469 +Q 1056 3159 1242 3001 +Q 1428 2844 1947 2747 +L 2328 2669 +Q 3034 2534 3370 2195 +Q 3706 1856 3706 1288 +Q 3706 609 3251 259 +Q 2797 -91 1919 -91 +Q 1588 -91 1214 -16 +Q 841 59 441 206 +L 441 856 +Q 825 641 1194 531 +Q 1563 422 1919 422 +Q 2459 422 2753 634 +Q 3047 847 3047 1241 +Q 3047 1584 2836 1778 +Q 2625 1972 2144 2069 +L 1759 2144 +Q 1053 2284 737 2584 +Q 422 2884 422 3419 +Q 422 4038 858 4394 +Q 1294 4750 2059 4750 +Q 2388 4750 2728 4690 +Q 3069 4631 3425 4513 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-74" d="M 1172 4494 +L 1172 3500 +L 2356 3500 +L 2356 3053 +L 1172 3053 +L 1172 1153 +Q 1172 725 1289 603 +Q 1406 481 1766 481 +L 2356 481 +L 2356 0 +L 1766 0 +Q 1100 0 847 248 +Q 594 497 594 1153 +L 594 3053 +L 172 3053 +L 172 3500 +L 594 3500 +L 594 4494 +L 1172 4494 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-6f" d="M 1959 3097 +Q 1497 3097 1228 2736 +Q 959 2375 959 1747 +Q 959 1119 1226 758 +Q 1494 397 1959 397 +Q 2419 397 2687 759 +Q 2956 1122 2956 1747 +Q 2956 2369 2687 2733 +Q 2419 3097 1959 3097 +z +M 1959 3584 +Q 2709 3584 3137 3096 +Q 3566 2609 3566 1747 +Q 3566 888 3137 398 +Q 2709 -91 1959 -91 +Q 1206 -91 779 398 +Q 353 888 353 1747 +Q 353 2609 779 3096 +Q 1206 3584 1959 3584 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-72" d="M 2631 2963 +Q 2534 3019 2420 3045 +Q 2306 3072 2169 3072 +Q 1681 3072 1420 2755 +Q 1159 2438 1159 1844 +L 1159 0 +L 581 0 +L 581 3500 +L 1159 3500 +L 1159 2956 +Q 1341 3275 1631 3429 +Q 1922 3584 2338 3584 +Q 2397 3584 2469 3576 +Q 2541 3569 2628 3553 +L 2631 2963 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-79" d="M 2059 -325 +Q 1816 -950 1584 -1140 +Q 1353 -1331 966 -1331 +L 506 -1331 +L 506 -850 +L 844 -850 +Q 1081 -850 1212 -737 +Q 1344 -625 1503 -206 +L 1606 56 +L 191 3500 +L 800 3500 +L 1894 763 +L 2988 3500 +L 3597 3500 +L 2059 -325 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-20" transform="scale(0.015625)"/> + <path id="DejaVuSans-6e" d="M 3513 2113 +L 3513 0 +L 2938 0 +L 2938 2094 +Q 2938 2591 2744 2837 +Q 2550 3084 2163 3084 +Q 1697 3084 1428 2787 +Q 1159 2491 1159 1978 +L 1159 0 +L 581 0 +L 581 3500 +L 1159 3500 +L 1159 2956 +Q 1366 3272 1645 3428 +Q 1925 3584 2291 3584 +Q 2894 3584 3203 3211 +Q 3513 2838 3513 2113 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-75" d="M 544 1381 +L 544 3500 +L 1119 3500 +L 1119 1403 +Q 1119 906 1312 657 +Q 1506 409 1894 409 +Q 2359 409 2629 706 +Q 2900 1003 2900 1516 +L 2900 3500 +L 3475 3500 +L 3475 0 +L 2900 0 +L 2900 538 +Q 2691 219 2414 64 +Q 2138 -91 1772 -91 +Q 1169 -91 856 284 +Q 544 659 544 1381 +z +M 1991 3584 +L 1991 3584 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-6d" d="M 3328 2828 +Q 3544 3216 3844 3400 +Q 4144 3584 4550 3584 +Q 5097 3584 5394 3201 +Q 5691 2819 5691 2113 +L 5691 0 +L 5113 0 +L 5113 2094 +Q 5113 2597 4934 2840 +Q 4756 3084 4391 3084 +Q 3944 3084 3684 2787 +Q 3425 2491 3425 1978 +L 3425 0 +L 2847 0 +L 2847 2094 +Q 2847 2600 2669 2842 +Q 2491 3084 2119 3084 +Q 1678 3084 1418 2786 +Q 1159 2488 1159 1978 +L 1159 0 +L 581 0 +L 581 3500 +L 1159 3500 +L 1159 2956 +Q 1356 3278 1631 3431 +Q 1906 3584 2284 3584 +Q 2666 3584 2933 3390 +Q 3200 3197 3328 2828 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-62" d="M 3116 1747 +Q 3116 2381 2855 2742 +Q 2594 3103 2138 3103 +Q 1681 3103 1420 2742 +Q 1159 2381 1159 1747 +Q 1159 1113 1420 752 +Q 1681 391 2138 391 +Q 2594 391 2855 752 +Q 3116 1113 3116 1747 +z +M 1159 2969 +Q 1341 3281 1617 3432 +Q 1894 3584 2278 3584 +Q 2916 3584 3314 3078 +Q 3713 2572 3713 1747 +Q 3713 922 3314 415 +Q 2916 -91 2278 -91 +Q 1894 -91 1617 61 +Q 1341 213 1159 525 +L 1159 0 +L 581 0 +L 581 4863 +L 1159 4863 +L 1159 2969 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-65" d="M 3597 1894 +L 3597 1613 +L 953 1613 +Q 991 1019 1311 708 +Q 1631 397 2203 397 +Q 2534 397 2845 478 +Q 3156 559 3463 722 +L 3463 178 +Q 3153 47 2828 -22 +Q 2503 -91 2169 -91 +Q 1331 -91 842 396 +Q 353 884 353 1716 +Q 353 2575 817 3079 +Q 1281 3584 2069 3584 +Q 2775 3584 3186 3129 +Q 3597 2675 3597 1894 +z +M 3022 2063 +Q 3016 2534 2758 2815 +Q 2500 3097 2075 3097 +Q 1594 3097 1305 2825 +Q 1016 2553 972 2059 +L 3022 2063 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-53"/> + <use xlink:href="#DejaVuSans-74" x="63.476562"/> + <use xlink:href="#DejaVuSans-6f" x="102.685547"/> + <use xlink:href="#DejaVuSans-72" x="163.867188"/> + <use xlink:href="#DejaVuSans-79" x="204.980469"/> + <use xlink:href="#DejaVuSans-20" x="264.160156"/> + <use xlink:href="#DejaVuSans-6e" x="295.947266"/> + <use xlink:href="#DejaVuSans-75" x="359.326172"/> + <use xlink:href="#DejaVuSans-6d" x="422.705078"/> + <use xlink:href="#DejaVuSans-62" x="520.117188"/> + <use xlink:href="#DejaVuSans-65" x="583.59375"/> + <use xlink:href="#DejaVuSans-72" x="645.117188"/> + </g> + </g> + </g> + <g id="matplotlib.axis_2"> + <g id="ytick_1"> + <g id="line2d_7"> + <defs> + <path id="m517d5da34d" d="M 0 0 +L -3.5 0 +" style="stroke: #000000; stroke-width: 0.8"/> + </defs> + <g> + <use xlink:href="#m517d5da34d" x="57.6" y="253.984665" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_8"> + <!-- $\mathdefault{10^{2}}$ --> + <g transform="translate(33 257.783884) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-30" d="M 2034 4250 +Q 1547 4250 1301 3770 +Q 1056 3291 1056 2328 +Q 1056 1369 1301 889 +Q 1547 409 2034 409 +Q 2525 409 2770 889 +Q 3016 1369 3016 2328 +Q 3016 3291 2770 3770 +Q 2525 4250 2034 4250 +z +M 2034 4750 +Q 2819 4750 3233 4129 +Q 3647 3509 3647 2328 +Q 3647 1150 3233 529 +Q 2819 -91 2034 -91 +Q 1250 -91 836 529 +Q 422 1150 422 2328 +Q 422 3509 836 4129 +Q 1250 4750 2034 4750 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-31" transform="translate(0 0.765625)"/> + <use xlink:href="#DejaVuSans-30" transform="translate(63.623047 0.765625)"/> + <use xlink:href="#DejaVuSans-32" transform="translate(128.203125 39.046875) scale(0.7)"/> + </g> + </g> + </g> + <g id="ytick_2"> + <g id="line2d_8"> + <g> + <use xlink:href="#m517d5da34d" x="57.6" y="78.548292" style="stroke: #000000; stroke-width: 0.8"/> + </g> + </g> + <g id="text_9"> + <!-- $\mathdefault{10^{3}}$ --> + <g transform="translate(33 82.34751) scale(0.1 -0.1)"> + <use xlink:href="#DejaVuSans-31" transform="translate(0 0.765625)"/> + <use xlink:href="#DejaVuSans-30" transform="translate(63.623047 0.765625)"/> + <use xlink:href="#DejaVuSans-33" transform="translate(128.203125 39.046875) scale(0.7)"/> + </g> + </g> + </g> + <g id="ytick_3"> + <g id="line2d_9"> + <defs> + <path id="mf64902404e" d="M 0 0 +L -2 0 +" style="stroke: #000000; stroke-width: 0.6"/> + </defs> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="306.796276" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_4"> + <g id="line2d_10"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="292.905005" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_5"> + <g id="line2d_11"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="281.160103" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_6"> + <g id="line2d_12"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="270.986206" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_7"> + <g id="line2d_13"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="262.012193" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_8"> + <g id="line2d_14"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="201.173054" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_9"> + <g id="line2d_15"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="170.280242" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_10"> + <g id="line2d_16"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="148.361444" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_11"> + <g id="line2d_17"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="131.359902" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_12"> + <g id="line2d_18"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="117.468632" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_13"> + <g id="line2d_19"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="105.72373" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_14"> + <g id="line2d_20"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="95.549833" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="ytick_15"> + <g id="line2d_21"> + <g> + <use xlink:href="#mf64902404e" x="57.6" y="86.57582" style="stroke: #000000; stroke-width: 0.6"/> + </g> + </g> + </g> + <g id="text_10"> + <!-- Word count (log scale) --> + <g transform="translate(26.920312 230.660812) rotate(-90) scale(0.1 -0.1)"> + <defs> + <path id="DejaVuSans-57" d="M 213 4666 +L 850 4666 +L 1831 722 +L 2809 4666 +L 3519 4666 +L 4500 722 +L 5478 4666 +L 6119 4666 +L 4947 0 +L 4153 0 +L 3169 4050 +L 2175 0 +L 1381 0 +L 213 4666 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-64" d="M 2906 2969 +L 2906 4863 +L 3481 4863 +L 3481 0 +L 2906 0 +L 2906 525 +Q 2725 213 2448 61 +Q 2172 -91 1784 -91 +Q 1150 -91 751 415 +Q 353 922 353 1747 +Q 353 2572 751 3078 +Q 1150 3584 1784 3584 +Q 2172 3584 2448 3432 +Q 2725 3281 2906 2969 +z +M 947 1747 +Q 947 1113 1208 752 +Q 1469 391 1925 391 +Q 2381 391 2643 752 +Q 2906 1113 2906 1747 +Q 2906 2381 2643 2742 +Q 2381 3103 1925 3103 +Q 1469 3103 1208 2742 +Q 947 2381 947 1747 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-63" d="M 3122 3366 +L 3122 2828 +Q 2878 2963 2633 3030 +Q 2388 3097 2138 3097 +Q 1578 3097 1268 2742 +Q 959 2388 959 1747 +Q 959 1106 1268 751 +Q 1578 397 2138 397 +Q 2388 397 2633 464 +Q 2878 531 3122 666 +L 3122 134 +Q 2881 22 2623 -34 +Q 2366 -91 2075 -91 +Q 1284 -91 818 406 +Q 353 903 353 1747 +Q 353 2603 823 3093 +Q 1294 3584 2113 3584 +Q 2378 3584 2631 3529 +Q 2884 3475 3122 3366 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-28" d="M 1984 4856 +Q 1566 4138 1362 3434 +Q 1159 2731 1159 2009 +Q 1159 1288 1364 580 +Q 1569 -128 1984 -844 +L 1484 -844 +Q 1016 -109 783 600 +Q 550 1309 550 2009 +Q 550 2706 781 3412 +Q 1013 4119 1484 4856 +L 1984 4856 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-6c" d="M 603 4863 +L 1178 4863 +L 1178 0 +L 603 0 +L 603 4863 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-67" d="M 2906 1791 +Q 2906 2416 2648 2759 +Q 2391 3103 1925 3103 +Q 1463 3103 1205 2759 +Q 947 2416 947 1791 +Q 947 1169 1205 825 +Q 1463 481 1925 481 +Q 2391 481 2648 825 +Q 2906 1169 2906 1791 +z +M 3481 434 +Q 3481 -459 3084 -895 +Q 2688 -1331 1869 -1331 +Q 1566 -1331 1297 -1286 +Q 1028 -1241 775 -1147 +L 775 -588 +Q 1028 -725 1275 -790 +Q 1522 -856 1778 -856 +Q 2344 -856 2625 -561 +Q 2906 -266 2906 331 +L 2906 616 +Q 2728 306 2450 153 +Q 2172 0 1784 0 +Q 1141 0 747 490 +Q 353 981 353 1791 +Q 353 2603 747 3093 +Q 1141 3584 1784 3584 +Q 2172 3584 2450 3431 +Q 2728 3278 2906 2969 +L 2906 3500 +L 3481 3500 +L 3481 434 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-73" d="M 2834 3397 +L 2834 2853 +Q 2591 2978 2328 3040 +Q 2066 3103 1784 3103 +Q 1356 3103 1142 2972 +Q 928 2841 928 2578 +Q 928 2378 1081 2264 +Q 1234 2150 1697 2047 +L 1894 2003 +Q 2506 1872 2764 1633 +Q 3022 1394 3022 966 +Q 3022 478 2636 193 +Q 2250 -91 1575 -91 +Q 1294 -91 989 -36 +Q 684 19 347 128 +L 347 722 +Q 666 556 975 473 +Q 1284 391 1588 391 +Q 1994 391 2212 530 +Q 2431 669 2431 922 +Q 2431 1156 2273 1281 +Q 2116 1406 1581 1522 +L 1381 1569 +Q 847 1681 609 1914 +Q 372 2147 372 2553 +Q 372 3047 722 3315 +Q 1072 3584 1716 3584 +Q 2034 3584 2315 3537 +Q 2597 3491 2834 3397 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-61" d="M 2194 1759 +Q 1497 1759 1228 1600 +Q 959 1441 959 1056 +Q 959 750 1161 570 +Q 1363 391 1709 391 +Q 2188 391 2477 730 +Q 2766 1069 2766 1631 +L 2766 1759 +L 2194 1759 +z +M 3341 1997 +L 3341 0 +L 2766 0 +L 2766 531 +Q 2569 213 2275 61 +Q 1981 -91 1556 -91 +Q 1019 -91 701 211 +Q 384 513 384 1019 +Q 384 1609 779 1909 +Q 1175 2209 1959 2209 +L 2766 2209 +L 2766 2266 +Q 2766 2663 2505 2880 +Q 2244 3097 1772 3097 +Q 1472 3097 1187 3025 +Q 903 2953 641 2809 +L 641 3341 +Q 956 3463 1253 3523 +Q 1550 3584 1831 3584 +Q 2591 3584 2966 3190 +Q 3341 2797 3341 1997 +z +" transform="scale(0.015625)"/> + <path id="DejaVuSans-29" d="M 513 4856 +L 1013 4856 +Q 1481 4119 1714 3412 +Q 1947 2706 1947 2009 +Q 1947 1309 1714 600 +Q 1481 -109 1013 -844 +L 513 -844 +Q 928 -128 1133 580 +Q 1338 1288 1338 2009 +Q 1338 2731 1133 3434 +Q 928 4138 513 4856 +z +" transform="scale(0.015625)"/> + </defs> + <use xlink:href="#DejaVuSans-57"/> + <use xlink:href="#DejaVuSans-6f" x="93.001953"/> + <use xlink:href="#DejaVuSans-72" x="154.183594"/> + <use xlink:href="#DejaVuSans-64" x="193.546875"/> + <use xlink:href="#DejaVuSans-20" x="257.023438"/> + <use xlink:href="#DejaVuSans-63" x="288.810547"/> + <use xlink:href="#DejaVuSans-6f" x="343.791016"/> + <use xlink:href="#DejaVuSans-75" x="404.972656"/> + <use xlink:href="#DejaVuSans-6e" x="468.351562"/> + <use xlink:href="#DejaVuSans-74" x="531.730469"/> + <use xlink:href="#DejaVuSans-20" x="570.939453"/> + <use xlink:href="#DejaVuSans-28" x="602.726562"/> + <use xlink:href="#DejaVuSans-6c" x="641.740234"/> + <use xlink:href="#DejaVuSans-6f" x="669.523438"/> + <use xlink:href="#DejaVuSans-67" x="730.705078"/> + <use xlink:href="#DejaVuSans-20" x="794.181641"/> + <use xlink:href="#DejaVuSans-73" x="825.96875"/> + <use xlink:href="#DejaVuSans-63" x="878.068359"/> + <use xlink:href="#DejaVuSans-61" x="933.048828"/> + <use xlink:href="#DejaVuSans-6c" x="994.328125"/> + <use xlink:href="#DejaVuSans-65" x="1022.111328"/> + <use xlink:href="#DejaVuSans-29" x="1083.634766"/> + </g> + </g> + </g> + <g id="line2d_22"> + <path d="M 73.832727 53.568 +L 138.763636 79.854675 +L 203.694545 146.294482 +L 268.625455 169.020858 +L 333.556364 222.082685 +L 398.487273 295.488 +" clip-path="url(#p07d7978b4f)" style="fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square"/> + </g> + <g id="patch_3"> + <path d="M 57.6 307.584 +L 57.6 41.472 +" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/> + </g> + <g id="patch_4"> + <path d="M 414.72 307.584 +L 414.72 41.472 +" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/> + </g> + <g id="patch_5"> + <path d="M 57.6 307.584 +L 414.72 307.584 +" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/> + </g> + <g id="patch_6"> + <path d="M 57.6 41.472 +L 414.72 41.472 +" style="fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/> + </g> + </g> + </g> + <defs> + <clipPath id="p07d7978b4f"> + <rect x="57.6" y="41.472" width="357.12" height="266.112"/> + </clipPath> + </defs> +</svg> diff --git a/static/src/short-story-wc-plot.py b/static/src/short-story-wc-plot.py new file mode 100644 index 0000000..fdcf38b --- /dev/null +++ b/static/src/short-story-wc-plot.py @@ -0,0 +1,9 @@ +import matplotlib.pyplot as plt + +y = [1388, 983, 411, 305, 152, 58] +print((y[-1] / y[0]) ** (1 / (len(y) - 1))) +plt.semilogy(range(1, len(y)+1), y) +plt.xlabel('Story number') +plt.ylabel('Word count (log scale)') +plt.savefig('static/img/short-story-wc-plot.svg') +plt.show() |