digits: returns recognized number of digits for colorbar ticklabels

View source: R/digits.r

digitsR Documentation

returns recognized number of digits for colorbar ticklabels

Description

returns recognized number of digits for colorbar ticklabels. Used by v.plot inside v.

Usage

digits(x)

Arguments

x

a numeric value. If x >= 1 output is set to zero (meaning ticklabels will have no digit positions).

Author(s)

Robert K. Bauer

See Also

v.plot

Examples

## Example 1: ticklabels with no digits
digits(1000)
digits(1)
digits(1.01)

## Example 2: ticklabels with digits
digits(0.1)
digits(0.01)



oceanmap documentation built on Nov. 10, 2023, 5:08 p.m.

Related to digits in oceanmap...