Closed MichaelChirico closed 3 years ago
BTW here is the current output from plot_rink()
Now with painted crease
Now with hash marks
With trapezoid
Looks great: @MichaelChirico if I had a suggestion it would be to add in the actual net, and to put an alpha on blue shading for the crease and the net.
My apologies for taking like half a year, this is fantastic work! I just added a test and some vanity code style changes. Thank you very much for such a valuable contribution!
HTH Jozef!
@hswerdfe thanks! could you file as a follow-up issue?
Closes #4
Leaving it here for now. There are a few more bells and whistles that could be added:
plot_half_rink()
for plotters who may be reflecting data to only be on one side of the rinkBut I wanted to stop here before I got too ambitious and pause for some feedback.
What else do you want out of the PR? I didn't add any tests (I never know what sorts of tests to add for plotting functionality)... I could add some "ad hoc" tests to this PR to show basic functionality?
Also note: I ~half-ran
devtools::document()
. I apparently have a newer version ofroxygen2
than was used on the last build here, and the new version made a huge diff on other .Rd files. So I leave that to you to update first if you choose...