draw.tennis: Draw a tennis court

Description Usage Arguments Details Value Author(s) Examples

Description

Takes width, length, and color arguments to create a tennis court

Usage

1
2
draw.tennis(length = 78, width = 36, main = "Tennis",
  col1 = "aquamarine3", col2 = "white")

Arguments

length

the length (x-axis) of the court

width

the width (y-axis) of the court

main

the title that appears at the top of the plot

col1

the color of the court itself

col2

the color of the lines on the court

Details

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

Value

Plots a tennis court

Author(s)

Braden Sharp

Examples

1

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