Highlight a sector
Start location which determines the start of the sector.
End location which determines the end of the sector. Note x2
should be larger than x1 and the angular difference between x1
and x2
should be smaller than a circle.
Start location which determines the start of the sector on the upper border.
End location which determines the end of the sector on the upper border.
It controls the radial extension of the sector. The value should be a grid::unit()
object with length one or two.
Graphical parameters.
No value is returned.
x1
and x2
determine the position of the highlighted sector. If x3
and x4
are not set, the sector extends until the most outside loop.
If x3
and x4
are set, they determine the outer border of the sector. In this case, if x3
and x4
are set, x3
should be larger than x2
.
spiral_initialize(xlim = c(0, 360*4), start = 360, end = 360*5)
spiral_track()
spiral_axis()
spiral_highlight_by_sector(36, 72)
spiral_highlight_by_sector(648, 684)
spiral_highlight_by_sector(216, 252, 936, 972, gp = gpar(fill = "blue"))