some polygons are now less colored

This commit is contained in:
Motiejus Jakštys 2021-05-09 11:29:34 +03:00
parent f907cec1a6
commit d354d77d44
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_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_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_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_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:
return
# polygons either have fillings or lines
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}
if maybe_linestyle == 'invisible':

View File

@ -1068,9 +1068,9 @@ The smaller the distance $d$, the more similar the bends are.
\subsection{Elimination Operator}
Elimination was explained reasonably well in the original paper.
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]
\centering