zoometh / iconr

Formal methods to study Prehistory iconography
GNU General Public License v3.0
12 stars 5 forks source link

Patch 47 #45

Closed josempozo closed 3 years ago

josempozo commented 3 years ago

Added the number of nodes/edges coincidences in the figure caption of plot_compar.

Removed the plot_compar parameter nds.var. nds.var is now attached in the output of list_compar for each pairwise comparison. This allows the output to keep information about which nodes "type" has been used for the comparison. Thus, the plot_compar function does not need to be provided nds.var as an independent parameter, making the full pipeline more robust.

Bug correction is in label_shadow. Added handling of the exceptional case with zero-length labels. This was a bug since (in contrast with plot) the function graphics::text gives an error for zero-length labels.