inch2line: Plotting Dimensions of Character Strings

View source: R/plot.R

inch2lineR Documentation

Plotting Dimensions of Character Strings

Description

Convert string length in inch to number of (margin) lines.

Usage

inch2line(x, ...)

Arguments

x

A character vector of string whose length is to be calculated.

...

Further parameter to be passed to graphics::strwidth()⁠, such as ⁠cex'.

Value

A numeric vector (maximum string width in units of margin lines).

Note

For internal use only.

See Also

Other graphic tools: circle(), label_auto(), label_percent()


arkhe documentation built on Nov. 17, 2023, 5:09 p.m.