Grob for bracket axes.
draw_prism_bracket(
break_positions,
break_labels,
axis_position,
theme,
check.overlap = FALSE,
angle = NULL,
n.dodge = 1,
width = NULL,
outside = TRUE
)
Position of bracket center and labels
Labels between ticks
Position of axis (top, bottom, left or right)
A complete theme
object
Silently remove overlapping labels, (recursively) prioritizing the first, last, and middle labels.
Compared to setting the angle in
theme
/ element_text
,
this also uses some heuristics to automatically pick the hjust
and
vjust
that you probably want.
The number of rows (for vertical axes) or columns (for horizontal axes) that should be used to render the labels. This is useful for displaying labels that would otherwise overlap.
numeric
. Controls the width of the bracket. Try
values between 0 and 1.
logical
. Default is TRUE
and brackets point
outwards. If FALSE
the bracket crossbar is moved so the ticks appear
to point inwards towards the plotting area.