From e3310432fd9f4c7b4a5415d8f9ac8ca586d30b59 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 30 Jul 2021 08:17:40 +0200 Subject: Work on figures. --- data/glow_series_caselle.dat | 12 ++++++++++ data/glow_series_numeric.dat | 12 ++++++++++ data/glow_series_ours_0.dat | 10 +++++++++ ising_scaling.tex | 52 +++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 data/glow_series_caselle.dat create mode 100644 data/glow_series_numeric.dat create mode 100644 data/glow_series_ours_0.dat diff --git a/data/glow_series_caselle.dat b/data/glow_series_caselle.dat new file mode 100644 index 0000000..5055537 --- /dev/null +++ b/data/glow_series_caselle.dat @@ -0,0 +1,12 @@ +0 0 +1 1.3578383417065958 +2 0.04895328972000001 +3 -0.03583699905553839 +4 0.05314325466585325 +5 -0.10995313306170518 +6 0.27695711937696527 +7 -0.7945288687091496 +8 2.499702182487161 +9 -8.424469309661191 +10 29.94325112254707 +11 -111.02920849909854 diff --git a/data/glow_series_numeric.dat b/data/glow_series_numeric.dat new file mode 100644 index 0000000..27927c1 --- /dev/null +++ b/data/glow_series_numeric.dat @@ -0,0 +1,12 @@ +0 0 0 +1 -1.3578383417065955 1.e-14 +2 -0.04895328972 2.e-12 +3 0.038863929 1.e-10 +4 -0.068362121 1.e-9 +5 0.18388371 1.e-8 +6 -0.65917 1.e-6 +7 2.937665 3.e-6 +8 -15.61 0.01 +9 96.76 0 +10 -679 0 +11 5340 0 diff --git a/data/glow_series_ours_0.dat b/data/glow_series_ours_0.dat new file mode 100644 index 0000000..dea14cc --- /dev/null +++ b/data/glow_series_ours_0.dat @@ -0,0 +1,10 @@ +0 0 +1 -1.357838341706601 +2 -0.04895328971999897 +3 0.03858936404667754 +4 -0.0663968386695819 +5 0.1728249493887744 +6 -0.5982136876234834 +7 2.5836539597308357 +8 -13.385542500325073 +9 80.92156022471427 \ No newline at end of file diff --git a/ising_scaling.tex b/ising_scaling.tex index bed9db3..18edea3 100644 --- a/ising_scaling.tex +++ b/ising_scaling.tex @@ -20,6 +20,7 @@ \usepackage{graphicx} \usepackage{xcolor} \usepackage{tikz-cd} +\usepackage[subfolder]{gnuplottex} % need to compile separately for APS \begin{document} @@ -482,7 +483,11 @@ The scaling function has a number of free parameters: the position $\theta_c$ of \begin{tabular}{c|ccccccccc} & \multicolumn{9}{c}{$n$} \\ & 1 & 3 & 5 & 7 & 9 & 11 & 13 & 15 & 17 \\ - \hline + \hline\hline + $n_-$ & 2 & 3 & 3 & 4 & 5 & 6 & 6 & 6 \\ + $n_0$ & 1 & 2 & 3 & 4 & 4 & 5 & 7 & 8 \\ + $n_+$ & 2 & 2 & 4 & 4 & 6 & 6 & 6 & 8 + \\ \hline $\theta_c$ & 1.19022 & 1.24954 & @@ -653,6 +658,51 @@ The scaling function has a number of free parameters: the position $\theta_c$ of \subsection{Comparison} +\begin{figure} + \begin{gnuplot}[terminal=epslatex, terminaloptions={size 8.65cm,5.35cm}] + dat1 = 'data/glow_series_numeric.dat' + dat2 = 'data/glow_series_ours_0.dat' + dat3 = 'data/glow_series_caselle.dat' + set key top left Left reverse + set logscale y + set xlabel '$n$' + set ylabel '$\mathcal F_n$' + plot \ + dat1 using 1:(abs($2)) title 'Numeric', \ + dat2 using 1:(abs($2)) title 'Ours ($n=0$)', \ + dat3 using 1:(abs($2)) title 'Caselle' + \end{gnuplot} + \caption{ + } +\end{figure} + +\begin{figure} + \begin{gnuplot}[terminal=epslatex, terminaloptions={size 8.65cm,5.35cm}] + dat1 = 'data/glow_series_numeric.dat' + dat2 = 'data/glow_series_ours_0.dat' + dat3 = 'data/glow_series_caselle.dat' + + ratLast(x) = (back2 = back1, back1 = x, back1 / back2) + init(x) = (back1 = back2 = 0) + + back1 = 0 + back2 = 0 + + set xrange [0:0.55] + set yrange [0:10] + + set xlabel '$1/n$' + set ylabel '$\mathcal F_n/\mathcal F_{n-1}$' + + plot \ + dat1 using (1/$1):(abs(ratLast($2))) title 'Numeric', \ + dat2 using (1/$1):(abs(ratLast($2))) title 'Ours ($n=0$)', \ + dat3 using (1/$1):(abs(ratLast($2))) title 'Caselle' + \end{gnuplot} + \caption{ + } +\end{figure} + \section{The three-dimensional Ising model} \cite{Butera_2011_Free} -- cgit v1.2.3-70-g09d2