some polygons are now less colored

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:50 +03:00 committed by Motiejus Jakštys
parent 3c29c1d15b
commit 4ff313f8b9
3 changed files with 14 additions and 3 deletions

View File

@ -102,10 +102,13 @@ fig8-definition-of-a-bend_2SELECT = wm_debug where name='fig8' AND stage='bbends
fig8-elimination-gen1_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=1 fig8-elimination-gen1_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=1
fig8-elimination-gen1_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=1 fig8-elimination-gen1_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=1
fig8-elimination-gen1_2LINESTYLE = dotted
fig8-elimination-gen2_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=2 fig8-elimination-gen2_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=2
fig8-elimination-gen2_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=2 fig8-elimination-gen2_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=2
fig8-elimination-gen2_2LINESTYLE = dotted
fig8-elimination-gen3_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=3 fig8-elimination-gen3_1SELECT = wm_debug where name='fig8' AND stage='bbends' AND gen=3
fig8-elimination-gen3_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=3 fig8-elimination-gen3_2SELECT = wm_debug where name='fig8' AND stage='bbends-polygon' AND gen=3
fig8-elimination-gen3_2LINESTYLE = dotted
fig5-gentle-inflection-before_WITHDIV = 2 fig5-gentle-inflection-before_WITHDIV = 2
fig5-gentle-inflection-before_1SELECT = wm_debug where name='fig5' AND stage='bbends' AND gen=1 fig5-gentle-inflection-before_1SELECT = wm_debug where name='fig5' AND stage='bbends' AND gen=1

View File

@ -70,8 +70,16 @@ def plot_args(geom, color, maybe_linestyle):
if geom is None: if geom is None:
return return
# polygons either have fillings or lines
if geom.geom_type[0] == 'Polygon': if geom.geom_type[0] == 'Polygon':
return {'cmap': CMAP} if maybe_linestyle:
return {
'edgecolor': 'black',
'linestyle': maybe_linestyle,
'color': (0, 0, 0, 0),
}
else:
return {'cmap': CMAP}
r = {'color': color} r = {'color': color}
if maybe_linestyle == 'invisible': if maybe_linestyle == 'invisible':

View File

@ -1068,9 +1068,9 @@ The smaller the distance $d$, the more similar the bends are.
\subsection{Elimination Operator} \subsection{Elimination Operator}
Elimination was explained reasonably well in the original paper.
Figure~\ref{fig:elimination-through-iterations} illustrates steps of figure 8 Figure~\ref{fig:elimination-through-iterations} illustrates steps of figure 8
from the original paper. from the original paper. There is not much to add to the original description
beyond an illustrated example.
\begin{figure}[ht] \begin{figure}[ht]
\centering \centering