axis.brace

axis.braceNode

Names an interval on an axis with a curly brace, drawn in the gutter beside the tick numbers, so a span carries a name rather than two endpoints. The axis is chosen by which interval is given, as with axis.label's coordinate.

#Attributes

On any plane

labelRequiredImplicit
Also written: text, nameThe name at the brace's tip. Rich text, so σ\sigma sets as maths.Can be written as shorthand: axis.brace:value
flipAnimatable
Draw on the opposite side of the axis from the tick numbers.
Defaultfalse
sizeAnimatable
Also written: text-sizeLabel text size, in the graph's points. The default is the tick numbers' size; a mark's label is 20.
Default16
widthAnimatable
Stroke width.
Default1.5
colourAnimatable
neutralredorangeyellowgreentealbluepurplepinkgreywhiteblack
Also written: colorBrace and label colour.
Defaultneutral
hiddenAnimatable
Declared but not drawn. Animatable, for reveals.
Defaultfalse
Only withxplane
xAnimatable
The interval to brace along the x axis, e.g. [m, m + s]. Give exactly one of x or y. On a categorical axis the ends are names, [Tue, Thu].
Only withxyplane
xAnimatable
The interval to brace along the x axis, e.g. [m, m + s]. Give exactly one of x or y. On a categorical axis the ends are names, [Tue, Thu].
yAnimatable
The interval to brace along the y axis. On a categorical axis the ends are names, [Tue, Thu].
Only withargandplane
reAnimatable
On the argand plane, the interval on the real axis; naming it selects the axis.
imAnimatable
On the argand plane, the interval on the imaginary axis; naming it selects the axis.
Only withpolarplane
rAnimatable
On the polar plane, the interval on the r axis; naming it selects the axis.
thetaAnimatable
On the polar plane, the interval on the theta axis, in radians (60deg for degrees) or a name; naming it selects the axis.

#Allowed in

#Examples

axis.brace(label: $\sigma$; x: [m, m + s]; colour: grey)
axis.brace:$h$(y: [0, 4]; flip: true)