Skip to contents

Axis tick marks for a log scale. These tick marks are designed to progress with 3 tick marks for every factor of 10. For example: 2,5,10,20,50,100,200,500.

Usage

logPretty3(xMin, xMax)

Arguments

xMin

A numeric value for the minimum value to be plotted, it must be >0

xMax

A numeric value for the maximum value to be plotted, it must be >xMax

Value

xTicks A vector representing the values for each of the tick marks

Examples

logPretty3(0.7, 990000)
#>  [1] 5e-01 1e+00 2e+00 5e+00 1e+01 2e+01 5e+01 1e+02 2e+02 5e+02 1e+03 2e+03
#> [13] 5e+03 1e+04 2e+04 5e+04 1e+05 2e+05 5e+05 1e+06
logPretty3(3, 15)
#> [1]  2  5 10 20