Open jacquietran opened 2 years ago
The code supplied by Dave is really useful for plotting shots on the same halfcourt. The code includes a conversion to do this for the x position of shots, but I also need to add a conversion for the y value, so that it appears in the correct orientation relative to the basket - e.g., considering a basketball court laid out horizontally (one ring on the left, one ring on the right), shots taken on the left side of the basket when shooting at the right side ring need to be converted so they remain on the left side of the basket when shooting at the left side ring.
From Dave Scroggs, here: https://twitter.com/roystonpkroyal/status/1465944269319925764
Dave has kindly supplied the code as well, here: https://twitter.com/roystonpkroyal/status/1465944278610288642
Could be a readme example, or even part of a vignette??