Files
master-thesis/src/plots/energy_chart.tex

51 lines
1.1 KiB
TeX

\begin{tikzpicture}
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{steelblue}{RGB}{70,130,180}
\definecolor{tomato}{RGB}{255,99,71}
\begin{axis}[
width=12cm,
height=8cm,
axis background/.style={fill=gray!8},
axis line style={white},
tick style={draw=none},
grid=both,
grid style={white},
ymode=log,
log basis y={10},
xtick={2010,2020,2030,2040,2050},
ytick={1e16,1e18,1e20,1e22},
xticklabel style={/pgf/number format/1000 sep=},
ylabel={Compute Energy in $\si{\joule\per Year}$},
xmin=2010,
xmax=2050,
ymin=5e15,
ymax=2e22,
legend pos=south east,
legend style={draw=none, fill=none}
]
\addplot [very thick, tomato]
table {
2010 5e+20
2050 8e+20
};
\addlegendentry{world's energy production}
\addplot [very thick, steelblue]
table {
2010 5e+17
2020 5e+18
2030 4e+19
};
\addlegendentry{total compute energy}
\addplot [very thick, steelblue, dashed]
table {
2030 4e+19
2035 8e+19
2040 1.1e+20
2050 1.2e+20
}
node[above,pos=0.5,scale=0.8] {"market dynamics limited" scenario};
\end{axis}
\end{tikzpicture}