Texts used by default for axis labels in plots are recalled from character vectors returned by these functions. The aim is that their default values can be easily changed or translated to other languages. They contain only the text part, but not symbols or units of expression.
Details
By default axis_labels()
contains a copy of
axis_labels_uk_comma()
. By assigning to this name a user function
that returns a named character vector using the same names as those
returned by these functions, it is possible to temporarily change
the default texts.
Currently only UK English label texts are predefined and
axis_labels()
is a synonym of axis_labels_uk()
.