I can't seem to make arrows concave. I have tried many adjustments to the angle argument in geom_curve
Reproducible example
library(ggplot2)
library(dplyr)
set.seed(123)
data.frame(x = runif(200)* 1000, y = runif(200)* 1000) %>%
ggplot(aes(x, y)) +
geom_point() +
geom_curve(
aes(x = 200, y = 300, xend = 500, yend = 400),
arrow = arrow(length = unit(0.03, "npc"), type="closed"), colour = "#EC7014", size = 1.2, angle = 90)
The arrow above is convex - the goal is to make the arrow the shape of a rainbow (concave). I have altered angle and start/end points but all the resulting arrows are still convex
Practical Example
Here the arrows point to the pink parts of the bars - the bottom arrow looks fine, but the top one would look better if it could be made concave


