zoometh / iconr

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

Update plot_dec_grph.R #20

Closed josempozo closed 3 years ago

josempozo commented 3 years ago

Changed use:

  1. Changed name of parameters "nds.df" -> "nodes" and "eds.df" -> "edges".
  2. Removed shw option. Now parameters "nodes" and "edges" are NULL by default. If they are not set, then the corresponding concept is not plotted. This also allows to plot both if both are set.
  3. eds.color is now a pair for each type of edges. Previously, the colors were hardcoded.

The correction of the y-coordinates is now done with a change of signe (-) instead of extracting the absolute value. This is more in agreement with the logic of the corrected effect.