rename arguments
This commit is contained in:
parent
d46542162c
commit
f74ec5e93b
8
Makefile
8
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 \
|
||||
|
@ -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='<file>')
|
||||
@ -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])
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user