Description Usage Arguments Details Value Author(s) Examples
Takes width, length, and color arguments to create a football field
1 2 | draw.football(length = 120, width = 53 + (1/3), main = "Football",
col1 = "palegreen3", col2 = "white", col3 = "midnightblue")
|
length |
the length (x-axis) of the field |
width |
the width (y-axis) of the field |
main |
the title that appears at the top of the plot |
col1 |
the color of the field itself |
col2 |
the color of the lines on the field |
col3 |
the color of the field in the endzones |
This function creates a plot that acts as a base layer on which various points and lines can be plotted.
Plots a football field
Braden Sharp
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.