Plot Scaled 'ggplot' Representations of Sports Playing Surfaces
The penalty boxes are the areas outside the confines of the rink where...
The player benches are the areas outside the confines of the rink wher...
The player benches are the areas outside the confines of the rink wher...
The referee's crease is a semi-circle on the "bottom" of the boards (i...
The zone lines are the lines that separate the neutral zone from the o...
Identify if a passed color is a hexadecimal string
On some fields, there is a below goal marking. These are circles that ...
The boards are the wall around the outside of the field that constrain...
The center circle is where play begins to start a game. This is locate...
The center line divides the field of play into two equal halves, which...
The change area is the box-shaped area in front of the team benches wh...
The change area is the box-shaped area in front of the team benches wh...
The defensive-area lines run parallel to the sidelines and are connect...
The defensive zone is the TV-left area of the playing surface. In many...
The end lines run the width of the field, with its interior edge desig...
The face-off markers are where face-offs occur. They may take one of t...
Set the colors to be used for the plot. The values provided in the arg...
Outdoor require should have a field apron so that boundary lines are m...
The arc around the goal circle is a semi-circular area located around ...
One of the bases on the diamond, or really any base on the field. Thes...
The batter's boxes on the field. This is where a batter must stand to ...
The catcher's box. This is where the catcher is located on defense, us...
Set the colors to be used for the plot. The values provided in the arg...
The foul line. These are the white lines that extend from the back tip...
Home plate. This is a pentagonal shape with its back tip located at th...
The dirt that comprises the infield. This includes the base paths, inf...
The dirt that comprises the infield grass. This is the area inside the...
The pitcher's mound. This is where the pitcher's plate is located, but...
The pitcher's plate. This is where the pitcher must throw the ball fro...
The running lane is entirely in foul territory. The depth should be me...
The backboard is the backing onto which the basket ring (created by `b...
The hoop through which the ball must pass to score points for a team i...
The center circle is broken into two parts: the `basketball_center_cir...
The center circle is broken into two parts: the outline (this feature)...
The apron of the court is the colored boundary around the exterior of ...
The division line divides the court into two halves, and is sometimes ...
The endline on a basketball court, also called the baseline, is locate...
Set the colors to be used for the plot. The values provided in the arg...
The outline of the free throw circle. The interior filling area is cre...
On some courts, there are a series of dashes that comprise the bottom ...
The filled-in section of the free throw circle. The circle is the area...
The lines providing the boundary to the free throw lane. When a player...
Each half court spans from the inner edge of the baseline to the cente...
The inbounding line is where the ball is inbounded on the sideline whe...
The lane space marks, also known as the blocks, denote where non-shoot...
The lower defensive box is an imaginary box on the court extending fro...
To make the basket ring easier to identify, the nets will also be draw...
The painted area is the area contained by the free throw lane (see `ba...
The arc located in the free-throw lane is called the restricted arc. T...
The sideline on a basketball court run the full length of the court, t...
The substitution line is where players checking into the game wait for...
Players not in the game must stay within the team bench lines unless m...
An arc on the court, behind which any made basket counts as three poin...
If a court has a three-point line (see basketball_three_point_line()
...
Check to see what features of a surface can be colored
Check to see if a league can be plotted, and alert as to which functio...
Check to see if a sport can be plotted, and alert as to which league(s...
Convert all units, regardless of starting and ending units
The back line is the line in the back of the house. Its outer edge sho...
The inner-most of the concentric circles comprising the house is calle...
The centre line is the line that runs the full length of the curling s...
The curling sheet is the entire sheet, with the houses at either the t...
The courtesy lines are where players stand during the delivery process...
The curling sheet is the entire sheet, with the houses at either the t...
Set the colors to be used for the plot. The values provided in the arg...
The hack exits on both sides of the curling sheet between the back boa...
The hack line connects the two footholds at each hack. It should be an...
The hog line is the line that begins the Free Guard Zone at each end o...
The house is comprised of three concentric circles outside of the butt...
The apron of the sheet is what separates adjacent sheets, and in this ...
The tee line is the line that runs through the center of the house. It...
The coaching box is the area between the restricted area and team benc...
The coaching box line is the line that separates the team bench area f...
The directional arrows point towards the nearest goal line from the ya...
The end line is the line beyond the back of the endzone. Its interior ...
The endzones are the area beyond the goal line. Any offensive player w...
Set the colors to be used for the plot. The values provided in the arg...
The field should have an apron to appropriately see all out-of-bounds ...
The field border is the border line around the outer edge of the sidel...
The field border's outline is the outline around the outer edge of the...
The goal lines are the lines the ball must cross while being either pa...
Each half of the football field spans from the edge of the goal line n...
The major yard lines are the yard lines that span the entire width of ...
The minor yard lines are the yard lines in between all of the major ya...
The field border (see football_field_border()
) may have a different ...
The outline of the football_red_zone_border()
may be a different col...
The restricted area is the area nearest the sideline's exterior edge. ...
The sidelines are the lines that run the length of the field, stretchi...
The team bench area is the area beyond the restricted area and coachin...
The outline of the team bench area runs beyond the team bench, but is ...
The try mark is the mark from which all tries start. This line is loca...
Generate a ggplot2
instance containing a baseball field for a specif...
Generate a ggplot2
instance containing a basketball court for a spec...
Generate a ggplot2
instance containing a curling sheet for a specifi...
Generate a ggplot2
instance containing a football field for a specif...
Generate a ggplot2
instance containing an ice rink for a specified l...
Generate a ggplot2
instance containing a lacrosse field for a specif...
Generate a ggplot2
instance containing a soccer pitch for a specifie...
Generate a ggplot2
instance containing a tennis court for a specifie...
Generate a ggplot2
instance containing a volleyball court for a spec...
Set the default value when not provided in a list
The boards are the wall around the outside of the rink that constrain ...
The center faceoff circle is where the each period of the game begins....
The center faceoff spot is the spot at which the game begins. Its cent...
The center line is the line that divides the ice surface in half. Its ...
The defensive zone is the left "third" of the rink in TV view. This is...
Set the colors to be used for the plot. The values provided in the arg...
The goal crease is the area where a goaltender plays their position. I...
The goal crease is the area where a goaltender plays their position. I...
The goal frame is where the puck enters after crossing the goal line t...
The goal frame is where the puck enters after crossing the goal line t...
The goal lines are the lines over which a puck must cross (within the ...
The goaltender's restricted area marks where a goaltender is legally a...
The neutral zone is the middle "third" of the rink. This is the area b...
The non-centered faceoff spots are located in the neutral, offensive a...
The non-centered faceoff spots are located in the neutral, offensive a...
The non-centered faceoff circles are located in the offensive and defe...
The offensive/defensive zone faceoff lines are the L-shaped lines wher...
The off-ice officials' box is located between the two penalty boxes, o...
The goal circle is a circular feature on the field that houses the goa...
This feature is the area enclosed by the goal circle's outline. Please...
The goal arc fan is present on some fields (e.g. NCAAW) as a quarter-c...
The hash marks around the goal fan (see lacrosse_goal_fan()
) are dra...
The goal frame is the posts through which the ball must pass in order ...
The goal line is where the front edge of the goal sits. It spans the e...
The goal mouth is similar to the goal fan, except it is plainly a semi...
The goal mouth may have a hash mark that extends towards midfield from...
The goal net is the netting that the ball must hit in order to score a...
The neutral zone corresponds to the area between the restraining lines...
The off-field officials' box is located between the two penalty boxes,...
The offensive zone is where a team tries to score a goal. It is the TV...
The penalty boxes are the areas outside the confines of the field wher...
The penalty boxes are the areas outside the confines of the field wher...
The player benches are the areas outside the confines of the field whe...
The player benches are the areas outside the confines of the field whe...
The referee's crease is a semi-circle on the "bottom" of the boards (i...
The referee's crease is a semi-circle on the "bottom" of the boards (i...
The restraining line spans the entire width of the field (where presen...
The sidelines run the length of the field, with its interior edge desi...
The wing lines run parallel to the sidelines and cross the center line
Load default parameters for a specified league. This should only be us...
Perform a mathematical reflection of coordinates over a specified axis
Perform a mathematical rotation about (0, 0) of coordinates. This rota...
The center circle is the circle located at the center of the field. In...
The center mark is where kickoffs for each half, as well as following ...
The corner arcs are the quarter-circles located where the touchline me...
The corner defensive marks on the pitch are typically located 9.15 met...
Set the colors to be used for the plot. The values provided in the arg...
The goal is located beyond each goal line. By rule, the goal posts mus...
The goal box is the smaller of the two boxes that extend from the goal...
The goal line is the line that runs the full width of the pitch. The b...
Half of the pitch is located on each side of the halfway line (see `so...
The halfway line, aka the midfield line or center line, runs the width...
The penalty box on the pitch is the larger of the two boxes that exten...
The penalty mark is the center point for the arc of the penalty box, a...
The pitch should have an apron around it to do two things:
The lines that run the full length of the pitch are called the touchli...
surface_dimensions
The backcourt is the area behind the serviceline on the court, contain...
The baseline is the line behind which a player will serve the ball. It...
The center mark identifies the center point of the tennis_baseline()
...
The center serviceline on the court divides the service area into two ...
The court apron is referred to as the backstop and sidestop. These are...
The doubles alley is the area between the singles and doubles sideline...
Set the colors to be used for the plot. The values provided in the arg...
The front court is the area between the tennis_net()
and the `tennis...
The net divides the court into two halves, and should run through the ...
The serviceline is the line in front of which (nearest the net) a serv...
The sideline runs the entire length of the court, and there may be up ...
The attack line runs from sideline to sideline separating the court's ...
The backcourt is the area between the the attack line (see `volleyball...
The center line's axis runs along x = 0
when viewing the court in TV...
The court apron is similar to the basketball_court_apron()
in that i...
The lines on the court that run the full width of the court are referr...
Set the colors to be used for the plot. The values provided in the arg...
The free zone is similar to the basketball_court_apron()
in that it ...
The front zone is the area between the attack line (see `volleyball_at...
The service zone marks are the lines beyond the end lines that denote ...
The lines on the court that run the full length of the court are refer...
The substitution zone is typically marked by a dashed line extending f...
The offensive zone is the right "third" of the rink in TV view. This i...
The penalty boxes are the areas outside the confines of the rink where...
Create scaled 'ggplot' representations of playing surfaces. Playing surfaces are drawn pursuant to rule-book specifications. This package should be used as a baseline plot for displaying any type of tracking data.
Useful links