From ad9c30ab321adc3dc4273c410c9aa312df0c5459 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Wed, 3 Aug 2022 15:30:22 +0200 Subject: [PATCH] update sqrt convergence figure in 11 --- .../figures/sqrt_convergence.tex | 103 ++++++++++++------ 1 file changed, 70 insertions(+), 33 deletions(-) diff --git a/python/energy_flow_proper/11_new_ho_comparison/figures/sqrt_convergence.tex b/python/energy_flow_proper/11_new_ho_comparison/figures/sqrt_convergence.tex index 83f7431..1ce0097 100644 --- a/python/energy_flow_proper/11_new_ho_comparison/figures/sqrt_convergence.tex +++ b/python/energy_flow_proper/11_new_ho_comparison/figures/sqrt_convergence.tex @@ -12,52 +12,94 @@ legend cell align={left}, legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=lightgray204}, log basis x={10}, log basis y={10}, +minor xtick={20,30,40,50,60,70,80,90,200,300,400,500,600,700,800,900,2000,3000,4000,5000,6000,7000,8000,9000,20000,30000,40000,50000,60000,70000,80000,90000,200000,300000,400000,500000,600000,700000,800000,900000}, +minor xticklabels={ + \(\displaystyle {2\times10^{1}}\), + \(\displaystyle {3\times10^{1}}\), + \(\displaystyle {4\times10^{1}}\), + , + \(\displaystyle {6\times10^{1}}\), + , + , + , + \(\displaystyle {2\times10^{2}}\), + \(\displaystyle {3\times10^{2}}\), + \(\displaystyle {4\times10^{2}}\), + , + \(\displaystyle {6\times10^{2}}\), + , + , + , + \(\displaystyle {2\times10^{3}}\), + \(\displaystyle {3\times10^{3}}\), + \(\displaystyle {4\times10^{3}}\), + , + \(\displaystyle {6\times10^{3}}\), + , + , + , + \(\displaystyle {2\times10^{4}}\), + \(\displaystyle {3\times10^{4}}\), + \(\displaystyle {4\times10^{4}}\), + , + \(\displaystyle {6\times10^{4}}\), + , + , + , + \(\displaystyle {2\times10^{5}}\), + \(\displaystyle {3\times10^{5}}\), + \(\displaystyle {4\times10^{5}}\), + , + \(\displaystyle {6\times10^{5}}\), + , + , + +}, minor ytick={2e-05,3e-05,4e-05,5e-05,6e-05,7e-05,8e-05,9e-05,0.0002,0.0003,0.0004,0.0005,0.0006,0.0007,0.0008,0.0009,0.002,0.003,0.004,0.005,0.006,0.007,0.008,0.009,0.02,0.03,0.04,0.05,0.06,0.07,0.08,0.09}, minor yticklabels={ \(\displaystyle {2\times10^{-5}}\), \(\displaystyle {3\times10^{-5}}\), \(\displaystyle {4\times10^{-5}}\), - , + \(\displaystyle {5\times10^{-5}}\), \(\displaystyle {6\times10^{-5}}\), - , - , - , + \(\displaystyle {7\times10^{-5}}\), + \(\displaystyle {8\times10^{-5}}\), + \(\displaystyle {9\times10^{-5}}\), \(\displaystyle {2\times10^{-4}}\), \(\displaystyle {3\times10^{-4}}\), \(\displaystyle {4\times10^{-4}}\), - , + \(\displaystyle {5\times10^{-4}}\), \(\displaystyle {6\times10^{-4}}\), - , - , - , + \(\displaystyle {7\times10^{-4}}\), + \(\displaystyle {8\times10^{-4}}\), + \(\displaystyle {9\times10^{-4}}\), \(\displaystyle {2\times10^{-3}}\), \(\displaystyle {3\times10^{-3}}\), \(\displaystyle {4\times10^{-3}}\), - , + \(\displaystyle {5\times10^{-3}}\), \(\displaystyle {6\times10^{-3}}\), - , - , - , + \(\displaystyle {7\times10^{-3}}\), + \(\displaystyle {8\times10^{-3}}\), + \(\displaystyle {9\times10^{-3}}\), \(\displaystyle {2\times10^{-2}}\), \(\displaystyle {3\times10^{-2}}\), \(\displaystyle {4\times10^{-2}}\), - , + \(\displaystyle {5\times10^{-2}}\), \(\displaystyle {6\times10^{-2}}\), - , - , - + \(\displaystyle {7\times10^{-2}}\), + \(\displaystyle {8\times10^{-2}}\), + \(\displaystyle {9\times10^{-2}}\) }, tick align=outside, tick pos=left, width=\figW, x grid style={darkgray176}, xlabel={\(\displaystyle N\)}, -xmin=89.1250938133745, xmax=1122.01845430196, +xmin=922.680834590588, xmax=5418.99193367184, xmode=log, xtick style={color=black}, -xtick={1,10,100,1000,10000,100000}, +xtick={10,100,1000,10000,100000}, xticklabels={ - \(\displaystyle {10^{0}}\), \(\displaystyle {10^{1}}\), \(\displaystyle {10^{2}}\), \(\displaystyle {10^{3}}\), @@ -65,8 +107,8 @@ xticklabels={ \(\displaystyle {10^{5}}\) }, y grid style={darkgray176}, -ylabel={\(\displaystyle σ\)}, -ymin=0.000206282128665995, ymax=0.000731916612102981, +ylabel={mean \(\displaystyle σ\)}, +ymin=0.000303143603109317, ymax=0.00073465241509804, ymode=log, ytick style={color=black}, ytick={1e-05,0.0001,0.001,0.01}, @@ -79,22 +121,17 @@ yticklabels={ ] \addplot [semithick, steelblue31119180, dotted, mark=*, mark size=2.8, mark options={solid}] table {% -100 0.000690973771270365 -199.999969482422 0.000484140415210277 -300.000061035156 0.000393910653656349 -400.000091552734 0.000350466492818668 -500.000091552734 0.000308895396301523 -600.000061035156 0.000279167084954679 -699.999938964844 0.000259500433458015 -800 0.000243598784436472 -899.999938964844 0.000229642377234995 -1000 0.000219574576476589 +1000 0.000705679936800152 +1999.99963378906 0.000496594060678035 +3000.00073242188 0.000406141072744504 +4000.00073242188 0.000353465846274048 +5000.0009765625 0.000317110039759427 }; \addlegendentry{Numerics} \addplot [semithick, darkorange25512714] table {% -100 0.000690973771270365 -1000 0.000218505098018795 +1000 0.000705679936800152 +5000.0009765625 0.000315589568344876 }; \addlegendentry{$1/\sqrt{N}$} \end{axis}