draw.football: Draw an American football field

Description Usage Arguments Details Value Author(s) Examples

Description

Takes width, length, and color arguments to create a football field

Usage

1
2
draw.football(length = 120, width = 53 + (1/3), main = "Football",
  col1 = "palegreen3", col2 = "white", col3 = "midnightblue")

Arguments

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

Details

This function creates a plot that acts as a base layer on which various points and lines can be plotted.

Value

Plots a football field

Author(s)

Braden Sharp

Examples

1

bsharp13/drawfield documentation built on May 28, 2019, 11:25 a.m.