diff --git a/futures_loop/futures.tex b/futures_loop/futures.tex index ae95d42..8933764 100644 --- a/futures_loop/futures.tex +++ b/futures_loop/futures.tex @@ -5,7 +5,7 @@ node distance = 1cm and 2cm, el/.style = {inner sep=6pt, align=center, color=black}, state/.style = {minimum size=2.5cm, circle, draw=black, fill=white}, %node styles - plain/.style = {rectangle, fill=white, font=\large}, + plain/.style = {rectangle, font=\large}, node/.style = {draw, circle, inner sep=5, font=\large}, node_initial/.style = {draw, circle, inner sep=2, font=\large}, phantom/.style = {rectangle, inner sep=0.1cm, font=\large}, diff --git a/main.pdf b/main.pdf index ed156d4..60cd029 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index f4ea88d..4cb64d7 100644 --- a/main.tex +++ b/main.tex @@ -1,4 +1,4 @@ -\documentclass{article} +\documentclass[dvipsnames]{article} % using xcolor names \usepackage{tikz} \usetikzlibrary{arrows.meta, positioning, shapes.misc, decorations.markings} @@ -13,6 +13,12 @@ \renewcommand{\figurename}{Loop} +\usepackage{xcolor} +\usepackage{pagecolor} + +\pagecolor{black} +\color{white} + \pagenumbering{gobble} \setlength\parindent{0pt} @@ -31,7 +37,7 @@ Diagrams for:\\Parikka, Jussi, and Tony D. Sampson. Forthcoming.\\`The Operation \begin{figure} \centering \input{futures_loop/futures.tex} - \caption{Models as an operational part of pandemic production. Inspired by Dinno (2017) and Chun (2015).} + \caption{Models as an operational part of pandemic production.} \end{figure} \begin{figure} @@ -44,7 +50,7 @@ Diagrams for:\\Parikka, Jussi, and Tony D. Sampson. Forthcoming.\\`The Operation \begin{figure} \centering \input{wave_loop/wave_loop.tex} - \caption{Propelling mechanism of the pandemic ``wave'' as an operational image. Inspired by Jones and Helmreich (2020).} + \caption{Propelling mechanism of the pandemic ``wave'' as an operational image.} \end{figure} \end{landscape} diff --git a/scalar_logics/scalar.pdf b/scalar_logics/scalar.pdf index 413807b..0bbbfaa 100644 Binary files a/scalar_logics/scalar.pdf and b/scalar_logics/scalar.pdf differ diff --git a/scalar_logics/scalar.svg b/scalar_logics/scalar.svg index 7338972..375c3ee 100644 --- a/scalar_logics/scalar.svg +++ b/scalar_logics/scalar.svg @@ -8,156 +8,156 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="130mm" - height="180mm" - viewBox="0 0 130 180" - version="1.1" - id="svg8" + sodipodi:docname="scalar.svg" inkscape:version="1.0 (1.0+r73+1)" - sodipodi:docname="scalar.svg"> + id="svg8" + version="1.1" + viewBox="0 0 130 180" + height="180mm" + width="130mm"> - - + lpeversion="1" /> + lpeversion="1" /> + lpeversion="1" /> + + + is_visible="true" + lpeversion="1" /> + refY="0.0" + refX="0.0" + id="TriangleOutL" + style="overflow:visible" + inkscape:isstock="true"> + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" + transform="scale(0.8)" /> + refY="0.0" + refX="0.0" + id="Arrow1Sstart" + style="overflow:visible" + inkscape:isstock="true"> + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" + transform="scale(0.2) translate(6,0)" /> + is_visible="true" + lpeversion="1" /> + refY="0.0" + refX="0.0" + id="Arrow1Lstart" + style="overflow:visible" + inkscape:isstock="true"> + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" + transform="scale(0.8) translate(12.5,0)" /> + refY="0.0" + refX="0.0" + id="Arrow1Lend" + style="overflow:visible;" + inkscape:isstock="true"> + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" + transform="scale(0.8) rotate(180) translate(12.5,0)" /> - + lpeversion="1" /> + + is_visible="true" + lpeversion="1" /> + fit-margin-right="10" + fit-margin-left="10" + fit-margin-top="10" + inkscape:window-maximized="0" + inkscape:window-y="70" + inkscape:window-x="10" + inkscape:window-height="976" + inkscape:window-width="1900" + showgrid="false" + inkscape:document-rotation="0" + inkscape:current-layer="layer1" + inkscape:document-units="mm" + inkscape:cy="478.47378" + inkscape:cx="215.51772" + inkscape:zoom="1.979899" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base" /> @@ -171,398 +171,398 @@ + inkscape:groupmode="layer" + inkscape:label="Layer 1"> + id="path1422" /> + id="path1384" /> + id="path1430" /> + cy="153.49045" + cx="63.805218" + id="path843" + style="fill:#fffffa;fill-opacity:1;stroke:none;stroke-width:0.999997;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> Virus Particle - Body - State + id="tspan850" + sodipodi:role="line">Virus Particle Infrastructure + y="126.33057" + style="stroke-width:0.264583">Body State + Infrastructure + Tech Platforms + x="101.88074" + y="41.935936" + style="stroke-width:0.264583">Tech Platforms + id="path1400" /> + id="path946" /> + id="path1414" /> + id="path1412" /> + id="path1406" /> + style="display:inline;fill:none;stroke:#0000ff;stroke-width:0.17638889;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0" + transform="translate(9.3214868,1.3647401)" /> + cy="125.22488" + cx="63.805218" + id="path833" + style="display:inline;fill:none;fill-opacity:0.498028;stroke:#ffffff;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + cx="64.68322" + cy="68.693748" + rx="19.81402" + ry="5.7977753" /> + id="path1374" /> + cx="63.805218" + cy="96.959312" + rx="12.421713" + ry="4.8581405" /> + cx="57.329376" + cy="41.171265" + rx="10.045623" + ry="2.8744764" /> + id="path1378" /> + id="path1258" /> + id="path1432" /> + style="display:inline;stroke-width:0.773534"> + style="fill:none;stroke:#ffffff;stroke-width:0.19101981;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" /> + id="path1392" /> + x="0" + y="0" + xlink:href="#path1392" + id="use1424" + style="stroke-width:0.19101981;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> - - + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> - + + xlink:href="#use1402" + id="use1418" + transform="translate(-7.9503293,27.459127)" + width="100%" + height="100%" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + + + xlink:href="#g1396" + id="use1454" + transform="translate(4.1302594,0.8864712)" + width="100%" + height="100%" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + id="path1464" + transform="translate(9.3214868,1.3647401)" /> + cx="44.857319" + cy="46.529778" + rx="7.3368783" + ry="2.0683658" /> + id="path1458" + transform="translate(9.3214868,1.3647401)" /> - + + xlink:href="#use1456" + id="use1466" + transform="translate(7.6667819,23.928017)" + width="100%" + height="100%" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + id="path1476" + transform="translate(9.3214868,1.3647401)" /> + id="path1474" + transform="translate(9.3214868,1.3647401)" /> + id="path1480" + transform="translate(9.3214868,1.3647401)" /> + cy="34.45789" + cx="69.904068" + id="ellipse841" + style="fill:none;fill-opacity:0.498028;stroke:#ffffff;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + id="path1468" + transform="translate(9.3214868,1.3647401)" /> - + + xlink:href="#use1434" + id="use1484" + transform="translate(12.445337,1.2699992)" + width="100%" + height="100%" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + d="m 33.110977,39.204371 c -0.456023,0.558947 -0.983794,1.059231 -1.568896,1.481299 -1.393508,1.005217 -3.105426,1.56188 -4.823647,1.568499 -1.325502,0.0051 -2.635892,-0.306805 -3.961356,-0.318047 -2.309655,-0.01959 -4.61446,0.921517 -6.243398,2.55903 -1.628939,1.637513 -2.55853,3.951423 -2.505474,6.260551 0.05316,2.313549 1.036044,4.498369 2.118753,6.543626 1.082709,2.045257 2.296329,4.058009 2.879459,6.297494 0.520613,1.999391 0.514652,4.108258 0.22011,6.153215 -0.294541,2.044957 -0.871058,4.037922 -1.482529,6.011423 -1.222942,3.947002 -2.610894,8.000727 -2.174444,12.109732 0.247786,2.332809 1.081555,4.573244 2.175452,6.648523 1.093896,2.07528 2.446816,4.001215 3.801768,5.916284 2.709905,3.83014 6.973353,5.91243 7.587215,10.56396 0.49413,3.74427 -5.327279,8.91359 -2.345415,15.10574 2.981863,6.19216 12.063614,1.8832 17.688883,8.17267 5.625269,6.28947 2.492017,7.7612 8.383608,15.63921" + id="path1494" + transform="translate(9.3214868,1.3647401)" /> + cy="38.321056" + cx="47.324718" + id="ellipse837" + style="fill:none;fill-opacity:0.498028;stroke:#ffffff;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + id="path1486" + transform="translate(9.3214868,1.3647401)" /> + xlink:href="#use1456" + id="use1496" + transform="translate(0.04797802,-8.1982993)" + width="100%" + height="100%" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + style="display:inline;fill:none;stroke:#0000ff;stroke-width:0.17638889;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0" + transform="translate(9.3214868,1.3647401)" /> + cy="43.192856" + cx="79.024956" + id="ellipse904" + style="fill:none;fill-opacity:0.498028;stroke:#ffffff;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="display:inline;fill:none;stroke:#0000ff;stroke-width:0.1763889;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.1763889,0.35277779;stroke-dashoffset:0;stroke-opacity:1" + transform="translate(9.3214868,1.3647401)" /> + id="path1408" + sodipodi:nodetypes="csssssczcsssssssc" /> - + + transform="translate(-12.840388,0.89703307)" + id="use965" + xlink:href="#use1402" + y="0" + x="0" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + style="display:inline;fill:none;stroke:#0000ff;stroke-width:0.1763889;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.1763889,0.35277779;stroke-dashoffset:0;stroke-opacity:1" + transform="translate(9.3214868,1.3647401)" /> + transform="translate(-5.6650863,1.2145894)" + id="use993" + xlink:href="#use1434" + y="0" + x="0" + style="display:inline;stroke-width:0.24694444;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" /> + id="layer2" + inkscape:label="nodes" /> diff --git a/tornado/tornado_plot.pdf b/tornado/tornado_plot.pdf index 551f128..93855b5 100644 Binary files a/tornado/tornado_plot.pdf and b/tornado/tornado_plot.pdf differ diff --git a/tornado/tornado_plot.py b/tornado/tornado_plot.py index 8fde8af..14ed052 100644 --- a/tornado/tornado_plot.py +++ b/tornado/tornado_plot.py @@ -12,6 +12,12 @@ import numpy as np plt.rc('text', usetex=True) plt.rc('font', family='serif') +params = {"ytick.color" : "w", + "xtick.color" : "w", + "axes.labelcolor" : "w", + "axes.edgecolor" : "w"} +plt.rcParams.update(params) + # %% Function to convert sizes in cm for figure size def cm2inch(*tupl): inch = 2.54 @@ -72,17 +78,17 @@ for country_code, country_data in countries.items(): textcoords='offset points', ha='right', size=8, - color='k') + color='w') # to use same color as current cuvre: color=line.get_color() # to add background: bbox=dict(boxstyle='square, pad=0.5', alpha=0.7, fc='white', ec='white') # date markers - ax.scatter(row['cases_change'], row['daily_cases_avg'], color='k', s=10) + ax.scatter(row['cases_change'], row['daily_cases_avg'], color='w', s=10) # Date legend -ax.scatter(130, 0, color='k', s=10) -ax.annotate('Dates: day/month 2020', xy=(220,12), xycoords='axes points') +ax.scatter(130, 0, color='w', s=10) +ax.annotate('Dates: day/month 2020', xy=(220,12), xycoords='axes points', color='w') # Line at x=0 -plt.axvline(x=0, c='black', lw=1, ls=':') +plt.axvline(x=0, c='white', lw=1, ls=':') # remove frame ax.spines['top'].set_visible(False) ax.spines['right'].set_visible(False) @@ -92,7 +98,7 @@ ax.set(ylabel="UK Daily COVID-19 Cases", xlabel="Increase or decrease in cases p #ax.legend(loc='upper center', ncol=3, bbox_to_anchor=(0.5,1.15)) #plt.show() -plt.savefig('tornado_plot.pdf') +plt.savefig('tornado_plot.pdf', transparent=True) # %% diff --git a/wave_loop/wave_loop.tex b/wave_loop/wave_loop.tex index c536352..9ee4fa0 100644 --- a/wave_loop/wave_loop.tex +++ b/wave_loop/wave_loop.tex @@ -5,7 +5,7 @@ node distance = 1cm and 2cm, el/.style = {inner sep=5pt, font=\normalsize, align=center, sloped}, state/.style = {minimum size=2.5cm, circle, draw=black, fill=white}, %node styles - plain/.style = {rectangle, fill=white, font=\large}, + plain/.style = {rectangle, font=\large}, wave/.style = {draw, rectangle, inner sep=10, font=\large}, path/.style = {color=blue} % every label/.append style = {font=\tiny}, unused node labels @@ -17,7 +17,7 @@ \node (futures) [plain, left=of waves, yshift=-1cm] {Statistical Futures}; \node (natural) [plain, right=of waves, yshift=1.5cm] {Virus as a natural event}; - \node (govt) [plain, fill=white, right=of waves, yshift=0.5cm] {Who can swim?}; + \node (govt) [plain, right=of waves, yshift=0.5cm] {Who can swim?}; \node (individual) [plain, right=of waves, yshift=-0.5cm] {Responsibility on individuals}; \node (death) [plain, right=of waves, yshift=-1.5cm] {Deaths/Economy calculus};