spiral_polygon.Rd
Add polygons to a track
spiral_polygon(x, y, id = NULL, gp = gpar(), track_index = current_track_index())
X-locations of the data points.
Y-locations of the data points.
A numeric vector used to separate locations in x and y into multiple polygons.
Graphical parameters.
Index of the track.
No value is returned.
Note the polygon must be closed, which means, the last data point should overlap to the first one.
# There is no example
NULL
#> NULL