Examples
Basic Examples (1) 
Create a blank sports pitch:
Scope (4) 
Combine the pitch with other graphics:
Any Graphics object can be combined with SportsFieldGraphics:
A range of sports is supported:
You can specify the sport using a "Sport" Entity:
Options (9) 
Background (2) 
Where pitches have multiple background colors, you can provide Background as a list:
Background can also be set to a Texture which will fill the field of play plus 10%:
Length (1) 
Some sports do not prescribe exact dimensions. You can use "Length" and "Width" to override the default values:
LineStyle (1) 
Pitch line styles can be specified:
PitchFontStyle (1) 
Use "PitchFontStyle" to change the style of any text in a pitch:
PitchOrigin (1) 
The default origin is in the center of the pitch, but you can change this with "PitchOrigin":
Units (2) 
The default unit system for sports pitches is "Meters":
You can change this with the option "Units":
Width (1) 
Some sports do not prescribe exact dimensions. You can use "Length" and "Width" to override the default values. If you exceed maximum or minimum sizes allowed for a sport, SportsFieldGraphic will use the closest allowed value:
Applications (1) 
As well as visualizing sports analytics data in context, you can use graphics primitives to create sports-related diagrams:
Possible Issues (2) 
The full play area is used by default:
For cricket, you may wish to use PlotRange to show only the pitch:
If you specify settings for "Length" or "Width" that exceed maximum or minimum sizes allowed for a sport, SportsFieldGraphics will use the closest allowed value:
Related Links
Version History
-
1.3.1
– 05 July 2022
-
1.3.0
– 19 January 2022