DarianFlorianVoda / BioShapes

Bachelor Thesis R Package
0 stars 0 forks source link

[Examples] Fix Inverted Arrow & Diamond Arrow #83

Closed discoleo closed 2 years ago

discoleo commented 2 years ago

Examples: Inverted Arrow & Diamond Arrow

  # Inverted ArrowHead
  x = c(3, 3);
  d = -0.5;
  d.head=c(-0.5,0.5)
  a3 = arrowInverted(x, y, d=d, d.head=d.head, lwd=2);
  text(3, yt,
       "Inverted", cex = 0.75);

  # Diamond ArrowHead
  x = c(5, 5);
  d.head = c(-0.5, 0.5);
  d = -0.5;
  arrowDiamond(x, y, d=d, d.head=d.head, lwd=2, join=0);
  text(5, yt,
       "Diamond", cex = 0.75);
DarianFlorianVoda commented 2 years ago

Added