resizableLabel {oce} | R Documentation |
Provide axis names in adjustable sizes, e.g. using T instead of Temperature,
and including units as appropriate.
Used by e.g. plot,ctd-method
.
resizableLabel(item, axis, sep, unit = NULL)
item |
code for the label. This must be an element from the following
list, or an abbreviation that uniquely identifies an element through its
first letters: |
axis |
a string indicating which axis to use; must be |
sep |
optional character string inserted between the unit and the
parentheses or brackets that enclose it. If not provided, then
|
unit |
optional unit to use, if the default is not satisfactory. This might be the case if for example temperature was not measured in Celcius. |
A character string or expression, in either a long or a shorter
format, for use in the indicated axis at the present plot size. Whether the
unit is enclosed in parentheses or square brackets is determined by the
value of getOption("oceUnitBracket")
, which may be "["
or
"("
. Whether spaces are used between the unit and these deliminators
is set by psep
or getOption("oceUnitSep")
.
Dan Kelley