Torvaney / ggsoccer

Plot soccer event data in R/ggplot2
https://torvaney.github.io/ggsoccer/
Other
178 stars 27 forks source link

Penalty box arcs' curvature is wrong on rotated pitch #30

Open Torvaney opened 1 year ago

Torvaney commented 1 year ago

With this in mind, I think creating a dataframe of xy coordinates and annotating a ggplot2 layer using those coordinates is the best option. Could also look at (optionally?) adding corner arcs using the same method, too.

c.f. https://github.com/tidyverse/ggplot2/issues/5069