returns recognized number of digits for colorbar ticklabels

Share:

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
## Example 1: ticklabels with no digits
digits(1000)
digits(1)
digits(1.01)

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.