draw.soccer: Draw a soccer field

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
2
draw.soccer(length = 120, width = 70, main = "Soccer",
  col1 = "palegreen3", col2 = "white")

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 boundary lines on the field

Details

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

Value

Plots a soccer field

Author(s)

Braden Sharp

Examples

1

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