diff --git a/Makefile b/Makefile index 6d78718..6dd0e9b 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ fig8-definition-of-a-bend.pdf: layer2img.py Makefile .faux_test fig5-gentle-inflection-before.pdf: layer2img.py Makefile .faux_test python ./layer2img.py \ - --sizediv=2 \ + --widthdiv=2 \ --group1-table=wm_debug \ --group1-where="name='fig5' AND stage='bbends' AND gen=1" \ --group2-cmap=1 \ @@ -85,7 +85,7 @@ fig5-gentle-inflection-before.pdf: layer2img.py Makefile .faux_test fig5-gentle-inflection-after.pdf: layer2img.py Makefile .faux_test python ./layer2img.py \ - --sizediv=2 \ + --widthdiv=2 \ --group1-table=wm_debug \ --group1-where="name='fig5' AND stage='cinflections' AND gen=1" \ --group2-cmap=1 \ @@ -95,7 +95,7 @@ fig5-gentle-inflection-after.pdf: layer2img.py Makefile .faux_test inflection-1-gentle-inflection-before.pdf: layer2img.py Makefile .faux_test python ./layer2img.py \ - --sizediv=2 \ + --widthdiv=2 \ --group1-table=wm_debug \ --group1-where="name='inflection-1' AND stage='bbends' AND gen=1" \ --group2-cmap=1 \ @@ -105,7 +105,7 @@ inflection-1-gentle-inflection-before.pdf: layer2img.py Makefile .faux_test inflection-1-gentle-inflection-after.pdf: layer2img.py Makefile .faux_test python ./layer2img.py \ - --sizediv=2 \ + --widthdiv=2 \ --group1-table=wm_debug \ --group1-where="name='inflection-1' AND stage='cinflections' AND gen=1" \ --group2-cmap=1 \ diff --git a/layer2img.py b/layer2img.py index bcb9925..dd110d5 100644 --- a/layer2img.py +++ b/layer2img.py @@ -29,7 +29,7 @@ def parse_args(): parser.add_argument('--group3-where') parser.add_argument('--group3-cmap', type=bool) - parser.add_argument('--sizediv', + parser.add_argument('--widthdiv', default=1, type=float, help='Size divisor') parser.add_argument('-o', '--outfile', metavar='') @@ -58,7 +58,7 @@ def main(): rc('text', usetex=True) fig, ax = plt.subplots() - fig.set_figwidth(8.27 / args.sizediv) + fig.set_figwidth(8.27 / args.widthdiv) if c := args.clip: ax.set_xlim(left=c[0], right=c[2]) ax.set_ylim(bottom=c[1], top=c[3]) diff --git a/mj-msc.tex b/mj-msc.tex index 6694888..1358822 100644 --- a/mj-msc.tex +++ b/mj-msc.tex @@ -293,12 +293,12 @@ when a single vertex is moved outwards the end of the bend. \begin{figure}[h] \centering - \begin{subfigure}[b]{.45\textwidth} + \begin{subfigure}[b]{.49\textwidth} \includegraphics[width=\textwidth]{fig5-gentle-inflection-before} \caption{Before applying the inflection rule} \end{subfigure} \hfill - \begin{subfigure}[b]{.45\textwidth} + \begin{subfigure}[b]{.49\textwidth} \includegraphics[width=\textwidth]{fig5-gentle-inflection-after} \caption{After applying the inflection rule} \end{subfigure}